Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PagedList is deprecated

PagedList is deprecated, what should I use instead? I'm using paging library to fetch the data from firestore. Here is my code

val config = PagedList.Config.Builder()
        .setEnablePlaceholders(false)
        .setPrefetchDistance(2)
        .setPageSize(10)
        .build()
like image 781
Murad Ismayilov Avatar asked Oct 22 '25 08:10

Murad Ismayilov


1 Answers

In version 3.0.0 still in alpha (currently 3.0.0-alpha13 ) PagedList is deprecated and has been replaced by PagingData. Here you could find a detailed documentation about the paging library v3

like image 141
Stoyan Milev Avatar answered Oct 24 '25 22:10

Stoyan Milev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!