Google is committed to advancing racial equity for Black communities. See how.

OwnerScope

interface OwnerScope
androidx.compose.ui.node.OwnerScope

Read observation scopes used in layout and drawing must implement this interface to let the snapshot observer know when the scope has been removed and should no longer be observed.

Summary

Properties
abstract Boolean

true when the scope is still in the hierarchy and false once it has been removed and observations are no longer necessary.

Properties

isValid

abstract val isValid: Boolean

true when the scope is still in the hierarchy and false once it has been removed and observations are no longer necessary.