setPagingData

fun TtListRecyclerView.setPagingData(pagingData: Flow<PagingData<ListItemViewModel>>?)

Used to provide the view with paging information to populate the TtListRecyclerView. This paging information consists of ListItemViewModels representing the actual items in TtListRecyclerViews.

When ViewModels are loaded dynamically, e.g. from local storage or over a network connection, put them in a PagingData and set the list items using this method. This allows both network bandwidth and system resources to be used more efficiently.

See Android's PagingData documentation for more information on how the Android paging library should be used.