Comments (2)
这个暂时不支持,只能订阅后拿到Disposable对象,然后手动关闭
from rxlife.
对于Androidx项目,依赖androidx.lifecycle:lifecycle-service:x.x.x
非Androidx项目,依赖android.arch.lifecycle:extensions:x.x.x
,随后Service
继承LifecycleService
,就可直接使用RxLife
自动关闭请求
from rxlife.
Related Issues (20)
- 返回结果是 SingleLife 而不是 Single,是不是意味着就要放弃 RxKotlin 这个库 HOT 1
- RxJava3怎么使用呢 HOT 1
- 偶发性报ClassCastException这个错误 HOT 4
- rxLifeScope.launch { } 线程选择 HOT 3
- 关于presenter需要继承BaseScope的疑问 HOT 2
- demo中的observableByVM点击事件崩溃了 HOT 1
- 引入最新的rxlife-rxjava2报错 HOT 1
- com.rxjava.rxlife.OutsideScopeException: View is not attached HOT 1
- onFinally中没有判断isActive HOT 1
- .life(this) 需要引入什么库吗。为什么敲不出来呀 HOT 3
- LifeObserver类的异常捕获问题 HOT 1
- ViewModelProvider(this).get(MyViewModel::class.java) HOT 2
- Rxjava3使用Retrofit,提示Cannot resolve method 'subscribe' in 'Object' HOT 7
- 使用.to操作符后 ,crash HOT 2
- 求教 HOT 1
- LifecycleScope 移除 Observer 的疑问 HOT 8
- 在View中是否无法使用 HOT 2
- 兼容有问题 HOT 1
- rxjava3中的Observable位于其core包下 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxlife.