Package-level declarations

JengaPullToRefresh.

Types

Link copied to clipboard

Defaults and token mappings for JengaPullToRefresh.

Functions

Link copied to clipboard
fun JengaPullToRefresh(isRefreshing: Boolean, onRefresh: () -> Unit, modifier: Modifier = Modifier, content: @Composable BoxScope.() -> Unit)

Wraps scrollable content with pull-to-refresh. Drag down past the top to trigger onRefresh; show the spinner by setting isRefreshing true while the refresh runs, then false when it completes.