Interface

ViewRootForInspector

The marker interface to be implemented by Views that are initialized from Compose.

Source set: Android
public interface ViewRootForInspector

The marker interface to be implemented by Views that are initialized from Compose. Examples are: DialogWrapper, PopupLayout, ViewFactoryHolder. To be used by the inspector.

Properties

subCompositionView

Source set: Android
public val subCompositionView: AbstractComposeView?

Return the AbstractComposeView if this is creating for a sub composition.

This allows the inspector to add the creating compose nodes to the sub composition.

viewRoot

Source set: Android
public val viewRoot: View?

Return the top view initialized from Compose.

This allows the inspector to place the view under the correct compose node.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: