Package-level declarations
Types
Link copied to clipboard
Multi-preview annotation for testing Composables across various device sizes.
Link copied to clipboard
annotation class PreviewThemes
Multi-preview annotation for testing Composables in light and dark themes.
Link copied to clipboard
Represents different action types that can be attached to a Snackbar message.
Link copied to clipboard
Activity result contract for capturing photos with the camera.
Link copied to clipboard
Represents the state of a text input field with optional validation error.
Functions
Link copied to clipboard
Returns the user's currently preferred application locale.
Link copied to clipboard
Sets the application locale based on a language code.
Link copied to clipboard
fun <T : Any> StatefulComposable(state: UiState<T>, onShowSnackbar: suspend (String, SnackbarAction, Throwable?) -> Boolean, content: @Composable (T) -> Unit)
Renders UiState.data, a loading indicator, and an error snackbar callback.
Link copied to clipboard
Replaces UiState.data synchronously, preserving loading and the existing error event.
Link copied to clipboard
Link copied to clipboard