@@ -253,7 +253,7 @@ The `FirestorePagingAdapter` is built on top of the [Android Paging Support Libr
253253Before using the adapter in your application, you must add a dependency on the support library:
254254
255255``` groovy
256- implementation 'android.arch. paging:runtime:1 .x.x'
256+ implementation 'androidx. paging:paging- runtime:2 .x.x'
257257```
258258
259259First, configure the adapter by building ` FirestorePagingOptions ` . Since the paging adapter
@@ -266,7 +266,7 @@ an adapter that loads a generic `Item`:
266266Query baseQuery = mItemsCollection. orderBy(" value" , Query . Direction . ASCENDING );
267267
268268// This configuration comes from the Paging Support Library
269- // https://developer.android.com/reference/android/arch/ paging/PagedList.Config.html
269+ // https://developer.android.com/reference/androidx/ paging/PagedList.Config
270270PagedList . Config config = new PagedList .Config .Builder ()
271271 .setEnablePlaceholders(false )
272272 .setPrefetchDistance(10 )
@@ -394,6 +394,6 @@ FirestorePagingAdapter<Item, ItemViewHolder> adapter =
394394
395395[ firestore-docs ] : https://firebase.google.com/docs/firestore/
396396[ firestore-custom-objects ] : https://firebase.google.com/docs/firestore/manage-data/add-data#custom_objects
397- [ recyclerview ] : https://developer.android.com/reference/android/support/v7/ widget/RecyclerView.html
397+ [ recyclerview ] : https://developer.android.com/reference/androidx/recyclerview/ widget/RecyclerView
398398[ arch-components ] : https://developer.android.com/topic/libraries/architecture/index.html
399399[ paging-support ] : https://developer.android.com/topic/libraries/architecture/paging.html
0 commit comments