Firebase Firestore - Android Studio - 02[Show Data]
ฝัง
- เผยแพร่เมื่อ 30 ต.ค. 2024
- In this part we will do the followings:
✓Create new activity
✓Add button in MainActivity to go to list activity
✓Show saved data(from Cloud Firestore) in RecyclerView
✓Handle RecyclerView item clicks
Buy Me a Coffee:
paypal.me/atif...
Purchase Code:
www.technifyso...
Playlist: • Firebase Firestore - C...
Chanel:
/ mohammadatif1
Websites:
technifysoft.com/
devofandroid.b...
Apps/Games on PlayStore:
play.google.co...
If u like this video, Like, Comment, Subscribe to support us...
#CloudFirestore #Firebase #AndroidStudio
This is the better tutorial for firebase firestore. the entire playlist is comprhensive and clear. thank you
You are using String data. if I am use double type data than how can I retrieve double data from firestore ?
E/RecyclerView: No adapter attached; skipping layout
i have this eurror ? can you tell how can i fix it ?
Same
i have error on 24:14 where is this add function came from?if someone know please do tell and no data is displayed
hi, I got an error when I tried to run
java.lang.NullPointerException: Attempt to read from field 'android.view.View android.support.v7.widget.RecyclerView$ViewHolder.itemView' on a null object reference
I am succeeded when create data but failed when I tried to show data, I did change it to accommodate more fields and not just 2 like in the example, is it because of that?
i have the same issue - did u find a solution? hh
can you please help me that my new inserted data cannot shown on the recycler view
Try to check spellings, debug if you're receiving data or not
Hey Atif, Can you tell me how to clear recyclerView Data? Like if i want to search again so first i want to show to that first output is clear and after clicking on buttton again it will show new data.
Failed to resolve: androidx.appcompat:recyclerview:1.2.0 pls can you help me how to solve this porblem
for AndroidX
implementation "androidx.recyclerview:recyclerview:1.1.0"
@@AtifSayings ok thx !
@@AtifSayings ok thx !
nice tutorial man really helpful, anyway for me to get the ID from firebase auth and not random?
Throwing error on making toast on onitemclick... please help me resolve the error
Kindly check logcat/run tab to discover crash reason
@@AtifSayings I'd love to see/learn about sorting data after that
Its easy to sort arraylist of type model, you can easily find code
what is the content of generatedJava?
stackoverflow.com/questions/52548924/android-studio-3-2-generated-java
thanks but how can data be added on top only
does not display data
Data does not appear
Thanks you Atif, I have learnt a lot from you. You have the best android-firebase tutorial.
I have questions
Am using android V7 28.0.0
My realtime firebases version is 16.0.0:15.0.0
And it shows error finding 15.0.0
Secondly,
FirebaseRecyclerAdapter is unable to resolve ,and I have tried RecyclerOption and it's not working to.
How can I retrieve data from my Firebase?
Thanks
You're welcome :)
Use version 16.0.0
there is no FirebaseRecyclerAdapter in this series
You are a legend.
i got no error but my emulator cannot display the screen
Same
Great! Thanks a lot!
Thanks you!
please make a tutorial about using recycler view using firebase firestore
this is same as you are asking
Good, on another occasion, I followed another tutorial to work with Firestore, but in the adapters, they used "FirestoreRecyclerAdapter"
I think it makes the work easier. You could give your opinion on this. A greeting!
yeah sure you can use it
no audio does not understand anything
se detiene la aplicacion :(
Por si lograse hacer funcionar la app y se duplican los datos cada vez que cargas la vista agrega modelList.clear(); en la funcion que trae los datos
it worked thanks!
Thanks
You're welcome :)
Спасибо ОООООЧЕНЬ помог