ViewRootForTest

Interface

Android
@VisibleForTesting
interface ViewRootForTest : RootForTest

The marker interface to be implemented by the View backing the composition. To be used in tests.

Properties

Android
val view: View

The view backing this Owner.

Android
val isLifecycleInResumedState: Boolean

Returns true when the associated LifecycleOwner is in the resumed state

Android
val hasPendingMeasureOrLayout: Boolean

Whether the Owner has pending layout work.

Functions

fun invalidateDescendants()

Called to invalidate the Android View sub-hierarchy handled by this View.