Package-level declarations
Types
Link copied to clipboard
Optional state/action contract. Models need no Domposable or ViewModel base class.
Link copied to clipboard
class DomposableViewModelOwner : ViewModelStoreOwner, SavedStateRegistryOwner, HasDefaultViewModelProviderFactory
Optional AndroidX owner. Factories and dependency injection remain application-owned.
Functions
Link copied to clipboard
fun <State, Action> DomposableMviScreen(model: DomposableMvi<State, Action>, content: @Composable (State, (Action) -> Unit) -> Unit)
Collects a model's state while its entry is active and forwards actions to that model.
Link copied to clipboard