Package-level declarations
Types
Composite MultiPreview combining device form factors, themes, and accessibility options.
MultiPreview annotation representing common device sizes, orientations, and configurations.
A generic sealed interface representing the different states of an asynchronous operation or data loading process. Annotated with @Immutable for Jetpack Compose stability and optimal recomposition behavior.
Properties
Provides a CreationExtras instance with the Application instance.
Provides CreationExtras from a Context.
Functions
Detects tap gestures and passes the click origin relative to the element's width and height.
Returns the encapsulated throwable if this state is UiState.Failure, or null otherwise.
Traverses the ContextWrapper chain to find the underlying Activity.
Traverses the ContextWrapper chain to find a specific subtype of Activity.
Attempts to find the Application instance associated with this Context.
Applies onSuccess if state is UiState.Success, onFailure if UiState.Failure, onLoading if UiState.Loading, or onIdle if UiState.Idle.
Returns the encapsulated data if this state is UiState.Success, or default otherwise.
Returns the encapsulated data if this state is UiState.Success, or throws the encapsulated Throwable if this state is UiState.Failure, or an IllegalStateException if UiState.Idle or UiState.Loading.
A container that automatically adjusts its padding to accommodate the software keyboard (IME) and enables vertical scrolling.
Transforms the UiState.Success data using the given transform function. Non-success states (UiState.Idle, UiState.Loading, UiState.Failure) are passed through unchanged.
Creates a parallax scrolling translation effect without re-measuring layout during scroll.
Creates and remembers a state that tracks whether the software keyboard (IME) is currently visible.
Traverses the ContextWrapper chain to find the underlying Activity.
Gets the Application instance associated with this Context.
Creates a layered spread shadow effect around the composable using repeated border steps.