FakeLifecycleOwner

open class FakeLifecycleOwner(initialState: Lifecycle.State, mainDispatcher: CoroutineDispatcher) : LifecycleOwner

Functions

Link copied to clipboard
fun create()
Link copied to clipboard
fun destroy()
Link copied to clipboard
open override fun getLifecycle(): FakeLifecycle
Link copied to clipboard
fun getObserverCount(): Int
Link copied to clipboard
fun initialize()
Link copied to clipboard
fun pause()
Link copied to clipboard
fun resume()
Link copied to clipboard
fun start()
Link copied to clipboard
fun stepDown()
Link copied to clipboard
fun stepUp()
Link copied to clipboard
fun stop()

Properties

Link copied to clipboard
val fakeLifecycle: FakeLifecycle

Sources

Link copied to clipboard