LoadMoreHandler

fun LoadMoreHandler(listState: LazyListState, loadMoreThreshold: Int = 3, loadMore: () -> Unit)

Handler to be used with LazyColumn to implement infinite scroll.

Parameters

listState

The state of the list used to control scrolling.

loadMoreThreshold

The number if items before the end of the list.

loadMore

Handler for load more action.