From cda77394002326fe053d7ed3d2ac91500dcdbede Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Sat, 30 Jul 2022 19:15:42 +0530 Subject: [PATCH] Add AndroidX Paging. --- app/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 7f1e393c6fb..e407f34e5c3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,6 +98,7 @@ ext { checkstyleVersion = '10.3.1' androidxLifecycleVersion = '2.5.1' + androidxPagingVersion = '3.1.1' androidxRoomVersion = '2.4.3' androidxWorkVersion = '2.7.1' @@ -207,6 +208,8 @@ dependencies { implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${androidxLifecycleVersion}" implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0' implementation 'androidx.media:media:1.6.0' + implementation "androidx.paging:paging-runtime:${androidxPagingVersion}" + implementation "androidx.paging:paging-rxjava3:${androidxPagingVersion}" implementation 'androidx.preference:preference:1.2.0' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation "androidx.room:room-runtime:${androidxRoomVersion}"