androidx.compose.material3.pulltorefresh

Interfaces

PullToRefreshState

The state of a PullToRefreshBox which tracks the distance that the container and indicator have been pulled.

Cmn

Objects

PullToRefreshDefaults

Contains the default values for PullToRefreshBox

Cmn

Composables

PullToRefreshBox

PullToRefreshBox is a container that expects a scrollable layout as content and adds gesture support for manually refreshing when the user swipes downward at the beginning of the content.

Cmn
rememberPullToRefreshState

Create and remember the default PullToRefreshState.

Cmn

Modifiers

pullToRefresh

A Modifier that adds nested scroll to a container to support a pull-to-refresh gesture.

Cmn

Top-level functions summary

Top-level functions

PullToRefreshState

fun PullToRefreshState(): PullToRefreshState

Creates a PullToRefreshState.

Note that in most cases, you are advised to use rememberPullToRefreshState when in composition.