Show Images from Firebase in a RecyclerView - Firebase Cloud Storage
Вставка
- Опубліковано 6 вер 2024
- In this video you will learn how to get a whole collection of images from your Firebase Storage and show them all in a RecyclerView.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/...
Get the source code here:
github.com/phi...
Regular Android tutorials on my Instagram: / philipplackner_official
Checkout my GitHub: github.com/phi...
How about populating a recycler view with the links in firestore that point to images in firebase storage? I think this is what most people need :D Thanks for the video.
Nice Video!😊
Could you please tell me how to show Other files like PDF Documents in recycler view instead of images. I really want to know for my college project.😊
thank you for sharing your good knowledge, I have a question, How are you writing xml item id on other classes without typing binding , I'm so shocked
E/RecyclerView: No adapter attached; skipping layout how to fix this? and i cant call the .await()
Thanks, If it is possible consider making a KMM (Kotlin Multi Platform) series - just for android. I want to develop my kotlin based apps for IOS but I need a Kotlin pure backend.
pls help, i am have uploaded image and its name in firebase ,tried with everythin,firestore and realtime db,but i can't able to get images on recyclerview, using glide, images are repitative in nature only the last image is displaying , and coded using java.
Thankyou so much sir. It was very helpful for my fyp
thats ammasing!
grate video thanks
I wanna do that but un java :c how can i do It?
when i use image in images. the item option does not show up
Instead of imageviewer can we use pdf viewer
Sir how to show psd or dng images
Is it possible for you to show me how to display the pictures in the recycler view when im trying to upload them alongside other views. I have managed to successfully upload the pictures into the firebase but for some reason cant seem to figure out how to pull those pictures and display them in a report in recycler view
Hi, please I'm getting - getdownloadurl() is not supported at the root of the bucket
00:56 does Picasso also cache images like glide ?
also. if user jump to another activity and returns back to this activity is there any way to show these images first before the user refreshes the recyclerview or before they are fetched themselves ? ( to avoid that delay in case of a poor network )
I love that pictures 🤣🤣
Hi Philipp, Great video as usual. I have one problem. I have used your code but also used viewBinding. I have two errors in the imageAdapter.kt. Firstly in onCreateViewHolder, item_image is an Unresolved reference. Secondly in onBindViewHolder the ivImage is showing an error. I would normally put binding.ivImage but I am not sure how to use viewBinding with a class.
I have fixed the first problem, I had forgotten to create the layout in imageAdapter.kt. But I am still stuck on the second problem.
Ok, so I have sorted the second problem by using id 'kotlin-android-extensions' in build.gradle. However as I am using viewBinding is there a better way.
What about for texts ?
Could you do a video on texts too?
Nice video could u please show how to add click listeners to those images in the recyclerview to another activity or fragment
Hi, Just wondered if you managed to add click listeners to this recyclerView. If so how did you do it. Cheers Tony
could you please do a ROOM series?
How to do this but in different fragments in my app?
Can we make the same for uploading pdf and downloading pdf and show the downloads on the other activity.
yes
Nice!
I want to upload multiple images. Can someone help me?
Hi Philipp, thanks always for your superb videos. I just wanted to ask a quick question regarding using Coroutines in your videos (this and Spotify clone app, etc.).
I see that you are using Coroutine in the functions loading a DB from Firestore. I do believe that's a safe and an appropriate method. Now, for some other peoples' videos using Firebase/Firestore in Android Studio that I've watched, none of them uses Coroutine or Async (Yet they seem to work without much problem in their videos). If possible, can you tell us what can possibly go wrong if we don't use Coroutines and your general thoughts on this subject? Below is the list of Firebase vids I've watched (not using Corouinte/Async)
ua-cam.com/video/gHp3FzAJxyQ/v-deo.html
ua-cam.com/video/lAGI6jGS4vs/v-deo.html
First view , first like
how to make real time ?
Can I get a reply ???