Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Last active August 22, 2020 10:48
Show Gist options
  • Save PatilShreyas/cf1177800a5faf1f3b204f49acdf579d to your computer and use it in GitHub Desktop.
Save PatilShreyas/cf1177800a5faf1f3b204f49acdf579d to your computer and use it in GitHub Desktop.
Firebase Recycler Paging
dependencies {
//RecyclerView
implementation 'com.android.support:recyclerview-v7:28.0.0'
//Firebase Database
implementation 'com.google.firebase:firebase-database:16.1.0'
implementation 'com.google.firebase:firebase-core:16.0.7'
//Firebase-UI Library
implementation 'com.firebaseui:firebase-ui-database:4.3.1'
//Android Paging Libray
implementation "android.arch.paging:runtime:1.0.1"
//Firebase Pagination Library
implementation 'com.shreyaspatil:FirebaseRecyclerPagination:1.0.1'
}
@maulikkumbhani
Copy link

Error accrue when i put " implementation 'com.shreyaspatil:FirebaseRecyclerPagination:1.0.1' " in gradile ( app )and click on synk now

Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [com.shreyaspatil:FirebaseRecyclerPagination:1.0.1] C:\Users\KUMBHANI.gradle\caches\transforms-2\files-2.1\e4060f8b52632bdfc282045dcc8ab235\jetified-FirebaseRecyclerPagination-1.0.1\AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19, === (i already have minsdk 19)

	or use tools:overrideLibrary="com.shreyaspatil.firebase.recyclerpagination" to force usage (may lead to runtime failures)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment