Critical AY
Critical AY

Reputation: 1

PagerList error while Creating config File

My android Studio is striking off the PagedList as it says it migrated to paging dataenter image description here

private fun setUpAdapter() {




    val config = PagedList.Config.Builder()
        .setEnablePlaceholders(false)
        .setPageSize(10)
        .setPrefetchDistance(2)
        .build()

    val options = FirestorePagingOptions.Builder<User>()
        .setQuery(database,config,User::class.java)
        .setLifecycleOwner(this).build()

Upvotes: 0

Views: 23

Answers (0)

Related Questions