#15. How to Retrieve Firestore data to Recyclerview in Android Studio using Kotlin
Вставка
- Опубліковано 6 вер 2024
- As'salam o Alaikum!
In this video we will learn how to fetch data in recyclerview from firebase firestore using kotlin
how to implement recyclerview in android studio
Useful gadgets for Video Shooting:
Webcam: amzn.to/40s2kmx
Rode Mic(with wire): amzn.to/3JXNAEJ
Rode Mic(Wire-less): amzn.to/3ZI5Qbn
Canon EOS M50 Mark II Camera: amzn.to/40vrmRG
Microphone: amzn.to/3G1WPCK
Sound Panels: amzn.to/42SfhaD
Soft box lighting: amzn.to/3Kg0BuN
Tripod: amzn.to/3G2ry2C
RGD light: amzn.to/3ntQUQy
Height Adjustable table: amzn.to/3JU5Df3
If you find this video helpful, please like, share and subscribe to my channel, your support will be highly appreciated.
Thanks.
very good one bht acha explain kiya
Thank you so much for this video, the steps worked well and I got no errors. Keep up the good work!
Great to hear!
clear and concise! thank you
Thanks so much from Mexico
You are welcome!
Thank you so much. This video helped me a lot.
Glad it helped!
I followed this properly but when i run the app, the text on the recyclerViews are not showing. How do i fixt that??
bro plz reply its urgent, first of all nice video easy explanation, secondly agar mujhe ismae condition lagani hai ki sirf ek particular phn num ke data ko dikhaye toa kaise lagau plz tell?
You can use query for that(google it"how to fetch specific data from firestore"), or you can set a condition before adding data to the list, if(phoneNo == "specific phoneNo").
assalamualaikum bro , please why my card view showing but not the data class for textview, do you have source please?
w/s, specify textColor for your textView e.g. black or something else... Reach out to my instagram if u still need source code
How i do to add a new user and update the recycler view with the new information? Thanks
You should use realtime database for realtime changes(video is uploaded), or you should call nofifyDataSetChanged() on adapter after adding data.
I'm getting a red underline at line 39 (userList)
Place your cursor on it and It'll tell you the reason. Probably there will be some type casting issue.
@@waseemshakoorandroid it tells me no parameter value is passed and also says to create function MyAdapter
You didn't followed the tutorial properly. MyAdapter will be your adapter class for recyclerview.
@@waseemshakoorandroid so I restarted the whole process and this time the error eent away, but now when I try to retrieve data from my database only the cards are displayed without the actual information
Hi sir .. i follow this code and got no error in android studio. But when i run the app on my phone its show permission denied then i edit the rule from firebase and now it crash ~_~ pls help
DM me reason of crash on instagram.
DOWNLOAD THE VIDEO AND FOLOW THE TUTORIAL, IF IT'S NOT WORK THEY DONT GET THE VIWERS
What if it works?
IF IM NOT MISTAKE, THIS CODE NOT WORKING
Make sure you follow all the steps.
Hello Sir. How i can pass data to another activity from firestore recyclerview?
val intent = Intent(this, nextActivity::class.java)
use intent.putExtra("key", data) to send data to another activity.
After that start Activity like this... context.startActivity(intent)
Thanks a lot. @@waseemshakoorandroid
Ek hi list item ban raha hai,, jab ki log cat me dono data aaraha hai
single item row jo ap ne design ki hai, us ki height wrap_content rakhni hai. match_parent ni.
@@waseemshakoorandroid esa hi kiya hai
please give me source code
contact me on instagram
What is username