DEV Community

loading...

Kotlin Firebase Storage - Get List of Files example - Image List with FirebaseRecyclerAdapter | Android

loizenai profile image loizenai ・2 min read

https://grokonez.com/android/kotlin-firebase-storage-get-list-files-example-image-list-firebaserecycleradapter-example-android

Kotlin Firebase Storage - Get List of Files example - Image List with FirebaseRecyclerAdapter | Android

We had known the way to upload/download data. In this tutorial, we're gonna look at way to get list of files example - display list of Images with Firebase UI Database FirebaseRecyclerAdapter.

Related Posts:

I. How to do

firebase-storage-display-list-goal

To display list of Images, we need to:

  • add Firebase to Android App & enable Firebase Auth
  • use Firebase Cloud Storage to upload and store images
  • use Firebase Realtime Database to store images' information (name + url)
  • use FirebaseRecyclerAdapter to display images in RecyclerView with the help of Picasso lib.

    0. Depedencies

    After setup Project, build.gradle file (App-level):


    dependencies {
    // ...
    implementation 'com.google.firebase:firebase-auth:11.0.4'
    implementation 'com.google.firebase:firebase-storage:11.0.4'
    implementation 'com.google.firebase:firebase-database:11.0.4'
    implementation 'com.firebaseui:firebase-ui-database:2.3.0'

    implementation 'com.squareup.picasso:picasso:2.5.2'
    }

apply plugin: 'com.google.gms.google-services'

More at: https://grokonez.com/android/kotlin-firebase-storage-get-list-files-example-image-list-firebaserecycleradapter-example-android

Discussion (0)

Forem Open with the Forem app