androidx.compose.ui.platform
Interfaces
ClipboardManager |
Interface for managing the Clipboard. |
InspectableValue |
A compose value that is inspectable by tools. |
TextToolbar |
Interface for text-related toolbar. |
UriHandler |
An interface of providing platform specific URL handling. |
ViewCompositionStrategy |
A strategy for managing the underlying Composition of Compose UI Views such as ComposeView and AbstractComposeView. |
ViewConfiguration |
Contains methods to standard constants used in the UI for timeouts, sizes, and distances. |
ViewRootForTest |
The marker interface to be implemented by the View backing the composition. |
WindowManager |
Provides information about the Window that is hosting this compose hierarchy. |
WindowRecomposerFactory |
Classes
AbstractComposeView |
Base class for custom android.view.Views implemented using Jetpack Compose UI. |
AndroidUriHandler | |
AndroidViewConfiguration | |
AtomicInt | |
ComposeView |
A android.view.View that can host Jetpack Compose UI content. |
InspectorInfo |
A builder for an InspectableValue. |
InspectorValueInfo |
Implementation of InspectableValue based on a builder InspectorInfo DSL. |
ValueElement |
A ValueElement describes an element of a compose value instance. |
ValueElementSequence |
A builder for a sequence of ValueElement. |
Enums
TextToolbarStatus |
Status of the TextToolbar. |
Top-level functions summary
Unit |
A factory for creating an Android window-scoped Recomposer. |
Unit |
WindowFocusObserver(onWindowFocusChanged: (isWindowFocused: Boolean) -> Unit) Provides a callback that is called whenever the window gains or loses focus. |
InspectorInfo.() -> Unit |
debugInspectorInfo(crossinline definitions: InspectorInfo.() -> Unit) Factory method for avoiding DSL allocation when no debug inspector info is needed. |
Top-level properties summary
ProvidableAmbient<AnimationClockObservable> |
The default animation clock used for animations when an explicit clock isn't provided. |
ProvidableAmbient<Autofill?> |
The ambient that can be used to trigger autofill actions. |
ProvidableAmbient<AutofillTree> |
The ambient that can be used to add AutofillNodes to the autofill tree. |
ProvidableAmbient<ClipboardManager> |
The ambient to provide communication with platform clipboard service. |
ProvidableAmbient<Configuration> |
The Android Configuration. |
ProvidableAmbient<Context> |
Provides a Context that can be used by Android applications. |
ProvidableAmbient<Density> |
Provides the Density to be used to transform between density-independent pixelunits (DP) and pixel units or scale-independent pixel units (SP) and pixel units. |
ProvidableAmbient<FocusManager> |
The ambient that can be used to control focus within Compose. |
ProvidableAmbient<HapticFeedback> |
The ambient to provide haptic feedback to the user. |
ProvidableAmbient<LayoutDirection> |
The ambient to provide the layout direction. |
ProvidableAmbient<LifecycleOwner> |
The ambient containing the current LifecycleOwner. |
ProvidableAmbient<TextInputService?> |
The ambient to provide communication with platform text input service. |
ProvidableAmbient<TextToolbar> |
The ambient to provide text-related toolbar. |
ProvidableAmbient<UriHandler> |
The ambient to provide functionality related to URL, e. |
ProvidableAmbient<View> |
The ambient containing the current Compose View. |
ProvidableAmbient<ViewConfiguration> |
The ambient that provides the ViewConfiguration. |
ProvidableAmbient<ViewModelStoreOwner> |
The ambient containing the current ViewModelStoreOwner. |
ProvidableAmbient<WindowManager> |
The ambient that provides information about the window that hosts the current Owner. |
ProvidableAmbient<AnimationClockObservable> |
The default animation clock used for animations when an explicit clock isn't provided. |
ProvidableAmbient<ClipboardManager> |
The ambient to provide communication with platform clipboard service. |
ProvidableAmbient<Configuration> |
The Android Configuration. |
ProvidableAmbient<Context> |
Provides a Context that can be used by Android applications. |
ProvidableAmbient<Density> |
Provides the Density to be used to transform between density-independent pixelunits (DP) and pixel units or scale-independent pixel units (SP) and pixel units. |
ProvidableAmbient<FocusManager> |
The ambient that can be used to control focus within Compose. |
ProvidableAmbient<HapticFeedback> |
The ambient to provide haptic feedback to the user. |
ProvidableAmbient<Boolean> |
Inspectable mode ambient. |
ProvidableAmbient<LayoutDirection> |
The ambient to provide the layout direction. |
ProvidableAmbient<LifecycleOwner> |
The ambient containing the current LifecycleOwner. |
InspectorInfo.() -> Unit |
An empty InspectorInfo DSL. |
ProvidableAmbient<TextInputService?> |
The ambient to provide communication with platform text input service. |
ProvidableAmbient<TextToolbar> |
The ambient to provide text-related toolbar. |
ProvidableAmbient<UriHandler> |
The ambient to provide functionality related to URL, e. |
ProvidableAmbient<View> |
The ambient containing the current Compose View. |
ProvidableAmbient<ViewConfiguration> |
The ambient that provides the ViewConfiguration. |
ProvidableAmbient<ViewModelStoreOwner> |
The ambient containing the current ViewModelStoreOwner. |
Boolean |
Turn on inspector debug information. |
Extension functions summary
For android.app.Activity | |
Composition |
Activity.setViewContent(composable: () -> Unit) Sets the contentView of an activity to a FrameLayout, and composes the contents of the layout with the passed in composable. |
For android.view.View | |
CompositionReference? |
Returns the parent CompositionReference for this point in the view hierarchy, or |
For android.view.ViewGroup | |
Composition |
ViewGroup.setContent(parent: CompositionReference = Recomposer.current(), content: ( |