Xóa bài viết
Bạn có chắc chắn muốn xóa bài viết này không ?
Xóa bình luận
Bạn có chắc chắn muốn xóa bình luận này không ?
Kotlin Firebase Storage - Get List of Files 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:
- Kotlin Firebase Storage – Upload Data from Memory, Local File, Stream | Android
- Kotlin Firebase Storage – Download Files to Memory, Local File | Android
- Kotlin Firebase Realtime Database – Read/Write Data example | Android
I. How to do
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 inRecyclerView
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'
Bình luận

{{ comment.user.name }}
Bỏ hay
Hay

Cùng một tác giả

1
0
Tutorial Link: (Link) (Ảnh) Django is a Pythonbased free and opensource web framework that follows the modeltemplateview architectural pattern. A...

1
0
https://loizenai.com/angular11nodejspostgresqlcrudexample/ Angular 11 Node.js PostgreSQL Crud Example (Ảnh) Tutorial: “Angular 11 Node.js Postg...

1
0
Angular Spring Boot jwt Authentication Example Github https://loizenai.com/angularspringbootjwt/ (Ảnh) Tutorial: ” Angular Spring Boot jwt Authe...