文件名称:Android代码-Live
文件大小:145KB
文件格式:ZIP
更新时间:2022-08-25 12:20:18
Android代码
Live A Rx Transformer handling Android Lifecycle in the same way with LiveData. if you just want to take the stream until a specific lifecycle event happen, maybe RxLifecycle is that you really want. Usage public class MainActivity extends AppCompatActivity { protected void onCreate(Bundle savedInstanceState) { mObservable .compose(Live.bindLifecycle(this)) .subscribe(); } } Installation allprojects { repositories { maven { url 'h
【文件预览】:
Live-master
----.gitignore(124B)
----gradle()
--------wrapper()
----README.md(1KB)
----build.gradle(1KB)
----library()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(935B)
--------src()
----gradlew.bat(2KB)
----gradlew(5KB)
----app()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(935B)
--------src()
----gradle.properties(730B)
----.idea()
--------runConfigurations.xml(564B)
--------markdown-navigator.xml(4KB)
--------modules.xml(458B)
--------copyright()
--------compiler.xml(686B)
--------gradle.xml(679B)
--------markdown-navigator()
----settings.gradle(27B)