autodispose-root
androidJvm
autodispose-android
/
autodispose2.android
/
AutoDisposeAndroidPlugins
Auto
Dispose
Android
Plugins
class
AutoDisposeAndroidPlugins
Utility class to inject handlers to certain standard AutoDispose Android operations.
Members
Functions
is
Lockdown
Link copied to clipboard
open
fun
isLockdown
(
)
:
Boolean
Returns true if the plugins were locked down.
lockdown
Link copied to clipboard
open
fun
lockdown
(
)
Prevents changing the plugins from then on.
on
Check
Main
Thread
Link copied to clipboard
open
fun
onCheckMainThread
(
defaultChecker
:
BooleanSupplier
)
:
Boolean
Returns
true
if called on the main thread,
false
if not.
reset
Link copied to clipboard
open
fun
reset
(
)
Removes all handlers and resets to default behavior.
set
On
Check
Main
Thread
Link copied to clipboard
open
fun
setOnCheckMainThread
(
@
Nullable
mainThreadChecker
:
BooleanSupplier
)
Sets the preferred main thread checker.