4

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()

1 Answers1

1

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

Stoyan Milev
  • 725
  • 4
  • 17