FakeLifecycle

class FakeLifecycle(lifecycleOwner: FakeLifecycleOwner) : Lifecycle

Types

Link copied to clipboard
sealed class ObserverEvent

Functions

Link copied to clipboard
open override fun addObserver(observer: LifecycleObserver)
Link copied to clipboard
open override fun getCurrentState(): Lifecycle.State
Link copied to clipboard
fun handleLifecycleEvent(event: Lifecycle.Event)
Link copied to clipboard
open override fun removeObserver(observer: LifecycleObserver)
Link copied to clipboard
fun setCurrentState(state: Lifecycle.State)

Properties

Link copied to clipboard
val delegate: LifecycleRegistry
Link copied to clipboard
val mInternalScopeRef: AtomicReference<Any>
Link copied to clipboard
val observerCount: Int
Link copied to clipboard
val observerEvents: MutableSharedFlow<FakeLifecycle.ObserverEvent>

Sources

Link copied to clipboard