文件名称:Android代码-RxBattery
文件大小:168KB
文件格式:ZIP
更新时间:2022-08-26 01:06:07
Android代码
RxBattery Android library monitoring battery state of the device with RxJava and RxKotlin Contents Usage Examples Download Tests Code style Static code analysis JavaDoc Changelog Releasing References Credits License Usage In the Kotlin application, you can use library as follows: RxBattery .observe(context) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe { textView.text = it.toString() } In the Java application, you can use library as follows: RxB
【文件预览】:
RxBattery-master
----gradlew(5KB)
----settings.gradle(34B)
----app-kotlin()
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(751B)
----library()
--------src()
--------detekt.yml(8KB)
--------gradle.properties(62B)
--------.gitignore(7B)
--------build.gradle(3KB)
--------proguard-rules.pro(945B)
----CONTRIBUTING.md(2KB)
----.travis.yml(550B)
----config()
--------quality.gradle(2KB)
--------quality()
----LICENSE(11KB)
----gradle()
--------wrapper()
----RELEASING.md(1KB)
----README.md(5KB)
----maven_push.gradle(3KB)
----gradlew.bat(2KB)
----logo.png(7KB)
----gradle.properties(718B)
----.editorconfig(444B)
----.gitignore(760B)
----CHANGELOG.md(976B)
----build.gradle(2KB)