🌈 Create new beautiful Compose Gradients with our new wesite ->
Composable Function

rememberPullRefreshState

Creates a PullRefreshState that is remembered across compositions.

PullRefreshSample

@Sampled
@Composable
@OptIn(ExperimentalMaterialApi::class)
fun PullRefreshSample() {
    val refreshScope = rememberCoroutineScope()
    var refreshing by remember { mutableStateOf(false) }
    var itemCount by remember { mutableStateOf(15) }

Content updated: