Last active
September 7, 2018 08:43
-
-
Save Orange168/6fcda04a7fb91a86b767de8365e80c35 to your computer and use it in GitHub Desktop.
[RxJava 主线程运行] 任何时候都在主线程运行 #RxJava
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AndroidSchedulers.mainThread().scheduleDirect(new Runnable() { | |
@Override public void run() { | |
onDispose(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment