Object

ViewCompositionStrategy.DisposeOnDetachedFromWindowOrReleasedFromPool

The composition will be disposed automatically when the view is detached from a window, unless it is part of a pooling containerisPoolingContainer, such as RecyclerView.

Source set: Android
object DisposeOnDetachedFromWindowOrReleasedFromPool : ViewCompositionStrategy

The composition will be disposed automatically when the view is detached from a window, unless it is part of a [pooling container]isPoolingContainer, such as RecyclerView.

When not within a pooling container, this behaves exactly the same as DisposeOnDetachedFromWindow.

Last updated: