Skip to content

Commit c7b5036

Browse files
authored
docs: replace the support library packages with androidx (#1774)
1 parent 26ca17a commit c7b5036

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ you want to use. Here are some examples listing all of the critical dependencies
113113
implementation "com.google.firebase:firebase-auth:$X.Y.Z"
114114
implementation "com.google.android.gms:play-services-auth:$X.Y.Z"
115115
116-
implementation "android.arch.lifecycle:extensions:$X.Y.Z"
116+
implementation "androidx.lifecycle:lifecycle-extensions:$X.Y.Z"
117117
implementation "androidx.browser:browser:$X.Y.Z"
118118
implementation "androidx.cardview:cardview:$X.Y.Z"
119119
implementation "androidx.constraintlayout:constraintlayout:$X.Y.Z"

auth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dependencies {
6868
implementation 'com.firebaseui:firebase-ui-auth:6.2.1'
6969
7070
// Required only if Facebook login support is required
71-
// Find the latest Facebook SDK releases here: https://goo.gl/Ce5L94
71+
// Find the latest Facebook SDK releases here: https://github.com/facebook/facebook-android-sdk/blob/master/CHANGELOG.md
7272
implementation 'com.facebook.android:facebook-login:4.x'
7373
}
7474
```

database/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ The `FirebaseRecyclerPagingAdapter` is built on top of the [Android Paging Suppo
251251
Before using the adapter in your application, you must add a dependency on the support library:
252252

253253
```groovy
254-
implementation 'android.arch.paging:runtime:1.x.x'
254+
implementation 'androidx.paging:paging-runtime:2.x.x'
255255
```
256256

257257
First, configure the adapter by building `DatabasePagingOptions`. Since the paging adapter
@@ -264,7 +264,7 @@ an adapter that loads a generic `Item`:
264264
Query baseQuery = mDatabase.getReference().child("items");
265265

266266
// This configuration comes from the Paging Support Library
267-
// https://developer.android.com/reference/android/arch/paging/PagedList.Config.html
267+
// https://developer.android.com/reference/androidx/paging/PagedList.Config
268268
PagedList.Config config = new PagedList.Config.Builder()
269269
.setEnablePlaceholders(false)
270270
.setPrefetchDistance(10)
@@ -456,5 +456,6 @@ The order in which you receive your data depends on the order from `keyRef`, not
456456

457457
[firebase-lists]: https://firebase.google.com/docs/database/android/lists-of-data
458458
[indexed-data]: https://firebase.google.com/docs/database/android/structure-data#best_practices_for_data_structure
459-
[recyclerview]: https://developer.android.com/reference/android/support/v7/widget/RecyclerView.html
459+
[recyclerview]: https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView
460460
[arch-components]: https://developer.android.com/topic/libraries/architecture/index.html
461+
[paging-support]: https://developer.android.com/topic/libraries/architecture/paging

firestore/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ The `FirestorePagingAdapter` is built on top of the [Android Paging Support Libr
253253
Before 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

259259
First, configure the adapter by building `FirestorePagingOptions`. Since the paging adapter
@@ -266,7 +266,7 @@ an adapter that loads a generic `Item`:
266266
Query 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
270270
PagedList.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

Comments
 (0)