AutoDisposeAndroidPlugins

class AutoDisposeAndroidPlugins

Utility class to inject handlers to certain standard AutoDispose Android operations.

Functions

isLockdown
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.
onCheckMainThread
Link copied to clipboard
open fun onCheckMainThread(defaultChecker: BooleanSupplier): Boolean
Returns {@code true} if called on the main thread, {@code false} if not.
reset
Link copied to clipboard
open fun reset()
Removes all handlers and resets to default behavior.

Properties

onCheckMainThread
Link copied to clipboard
private open var onCheckMainThread: BooleanSupplier