Firebase Storage - Upload and Retrieve Images - 1 - Layout and Image Chooser | Al-Malabari

Опубликовано: 03 Май 2026
на канале: Mr Cyb
1,694
35

In this video series we will learn, how to upload images from our device to Firebase and then retrieve and display these images in a RecyclerView. For this we will use the Firebase storage and database as well as the Picasso library.

In part 1 we are going to set up Firebase for our project using the Firebase Assistant, add the dependencies for the RecyclerView, CardView and Picasso, add internet permission to our manifest file and prepare our MainActivity layout which will work as our upload activity.

And also we will create a file picker with which we can choose an image from our device and display it in an ImageView before we upload it. For this we will create an intent, set it to ACTION_GET_CONTENT and type "image/*", open it using the startActivityForResult method and then get our image uri out of the onActivityResult method.


RecyclerView 'androidx.recyclerview:recyclerview:1.1.0'
Picasso 'com.squareup.picasso:picasso:2.71828'
CardView "androidx.cardview:cardview:1.0.0"

#androidStudio
#malayalam
#firebase