MainThreadDisposable

Copy of the MainThreadDisposable from RxAndroid which makes use of isMainThread. This allows disposing on the JVM without crashing due to the looper check (which is often stubbed in tests).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun dispose()
Link copied to clipboard