Package-level declarations


Link copied to clipboard

Represents a composable UI for the given UiState. Conventionally, this should just be the return type of a ui function and a thin shim over a "real" implementation.


Link copied to clipboard
inline fun <UiState : CircuitUiState> ui(crossinline body: @Composable (state: UiState, modifier: Modifier) -> Unit): Ui<UiState>

Due to this bug in Studio, we can't write lambda impls of Ui directly. This works around it by offering a shim function of the same name. Once it's fixed, we can remove this and make Ui a fun interface instead.