{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
TestLifecycleOwner
Create a LifecycleOwner that allows changing the state via the handleLifecycleEvent method or currentState property.
LifecycleOwner
handleLifecycleEvent
currentState