Stay organized with collections Save and categorize content based on your preferences.

ViewCompositionStrategy.Companion

object ViewCompositionStrategy.Companion


This companion object may be used to define extension factory functions for other strategies to aid in discovery via autocomplete. e.g.: fun ViewCompositionStrategy.Companion.MyStrategy(): MyStrategy

Summary

Public properties

ViewCompositionStrategy

The default strategy for AbstractComposeView and ComposeView.

Public properties

Default

val DefaultViewCompositionStrategy

The default strategy for AbstractComposeView and ComposeView.

Currently, this is DisposeOnDetachedFromWindowOrReleasedFromPool, though this implementation detail may change.