文件名称:Android代码-Rx.Observe
文件大小:128KB
文件格式:ZIP
更新时间:2022-08-25 11:38:07
Android代码
Rx.Observe RxJava2 ready ! Create an interface with @Observe annotated method public class User { private int age; @Observe public int getAge() { return age; } @Observe public void setAge(int age) { this.age = age; } } Will generate 2 observables Observable getAge() Observable setAge(T toReturn, int age) setAge is a void method so it will return the first T toReturn argument (useful for your flatmaps) Those observable
【文件预览】:
Rx.Observe-master
----.gitignore(465B)
----app()
--------.gitignore(7B)
--------build.gradle(722B)
--------src()
--------proguard-rules.pro(674B)
----settings.gradle(64B)
----build.gradle(846B)
----gradlew(5KB)
----rxobserve-annotations()
--------.gitignore(7B)
--------build.gradle(957B)
--------src()
--------proguard-rules.pro(674B)
----LICENSE(11KB)
----README.md(4KB)
----gradlew.bat(2KB)
----gradle.properties(811B)
----circle.yml(153B)
----.idea()
--------misc.xml(2KB)
--------libraries()
--------gradle.xml(757B)
--------copyright()
--------runConfigurations.xml(564B)
--------compiler.xml(686B)
--------markdown-navigator()
--------modules.xml(683B)
--------markdown-navigator.xml(4KB)
----gradle()
--------wrapper()
--------bintray-java-v1.gradle(2KB)
--------bintray-android-v1.gradle(2KB)
--------install-v1.gradle(1KB)
----rxobserve-compiler()
--------.gitignore(7B)
--------build.gradle(1KB)
--------src()
--------proguard-rules.pro(674B)