setPagingData

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.

NOTE: TtListRecyclerView.lifecycleOwner need be set properly in advance. If it is null, a NullPointerException will be thrown. See TtListRecyclerView.lifecycleOwner to check how to set it properly.