LoadMoreHandler
Handler to notify that more items should be loaded when the user scrolls to the end of the list.
Parameters
The LazyListState used to control scrolling.
The number if items to check before reaching the end of the list. Default is 3.
The callback to load more items.
Handler to notify that more items should be loaded when the user scrolls to the end of the grid.
Parameters
The LazyGridState used to control scrolling.
The number if items to check before reaching the end of the grid. Default is 3.
The callback to load more items.
Handler to notify that more items should be loaded when the user scrolls to the end of the pager.
Parameters
The PagerState used to control scrolling.
The total number of pages.
The number if items to check before reaching the end of the pager. Default is 3.
The callback to load more items.
Deprecated
This function is deprecated. Use the one with a lambda for loadMoreThreshold instead.
Replace with
import io.getstream.chat.android.compose.handlers.LoadMoreHandler
LoadMoreHandler(listState, { loadMoreThreshold }, loadMore)
Handler to notify more items should be loaded when the user scrolls to the end of the list.
Parameters
The state of the list used to control scrolling.
The number if items before the end of the list. Default is 3.
Handler for load more action.