文件名称:Android代码-teaspoon
文件大小:160KB
文件格式:ZIP
更新时间:2022-08-26 00:21:12
Android代码
TeaSpoon Annotation-triggered method call by specified thread. Eliminate runOnUiThread calls by using @OnUi on method. Make background logic more clear by using @OnBackground on method. It makes more clear and easy to execute your method on ui thread or background thread. Usage You've seen this code at least once. void someUiLogicInActivity() { this.runOnUiThread(new Runnable() { @Override public void run() { // UI Thread required works here. } }); } Using TeaSpoon, you
【文件预览】:
teaspoon-master
----.travis.yml(183B)
----gradlew.bat(2KB)
----gradlew(5KB)
----teaspoon-example()
--------gradlew.bat(2KB)
--------gradlew(5KB)
--------proguard-rules.pro(664B)
--------gradle()
--------src()
--------.gitignore(7B)
--------build.gradle(900B)
----gradle.properties(910B)
----teaspoon-processor()
--------proguard-rules.pro(664B)
--------src()
--------.gitignore(7B)
--------build.gradle(2KB)
----teaspoon-plugin()
--------src()
--------build.gradle(319B)
----LICENSE(11KB)
----gradle()
--------wrapper()
----.gitignore(391B)
----teaspoon-annotations()
--------src()
--------.gitignore(7B)
--------build.gradle(151B)
----README.md(3KB)
----settings.gradle(88B)
----build.gradle(1KB)