Yes ! Yeeees ! The only approach that finally works for me after 3 months of hard researches and tests and disappointing mistakes !!! 😁I was trying to show firebase data in a RecyclerView of a TabbedView with a Drawer Navigation... But I never could ! Thanks Foxandroid !!!
Here's a timeline of the video. I hope this will help: 00:00 - Intro 00:19 - Demonstration of the final app 01:20 - Connecting the project to Firebase 02:12 - RecyclerView activity (frontend) 02:43 - Items for the RecyclerView (frontend) 04:37 - Data classe / Model (backend) 05:54 - Adapter (backend) 11:08 - Getting the data from Firebase database & Setting the Adapter to the recyclerView (backend) 13:11 - Fetch data from Firebase receive (backend) 17:19 - Testing / The final app Thanks to @Foxandroid 👍
I wasted at least two weeks to find solution how to add existing SQLLite database to my project and finaly instead of SQL I added my databse from Firebase whis is much more easier and faster. Thank you for this video. Good job!
Thank you for the post, but I have a question. In the case that it is in a fragment and not in an activity it does not work for me. Could you give me some tips?
The Activity opens up blank where the data is supposed to be retrieved and then goes back to MainActivity or the app crashes. When I check the logcat it says "No Adapter Attached, Skipping Layout".
I just did everything what you showed but showing this error message E/RecyclerView: No adapter attached; skipping layout and my app going back to main activity
How to do this but inside fragment not activity? I have problems with that and can't find answers, code should be written differenty inside fragment .kt file and i can't figure it out. And I also tried to run this code from github but it's not working, a lot of errors show up.
I had an Error in line: var dataItem = itemSnapshot.getValue(item::class.java) itemArrayList.add(dataItem!!) Failed to convert value of type java.lang.Long to String Here is my solution: var age = userSnapshot.child("age").value.toString() userArrayList.add(User(age))
Parabéns meu amigo. Mesmo entendendo pouco de sua lingua eu consegui fazer tudo e funcionou direitinho. Obrigado pela ajuda. Ganhou um inscrito e um joinha.
Excellent work and I learned alot from you I want to ask if you can help me with something I want to know how the user can delete his event data but i want that data to be safe in farebase data base please tell me...
make a app RecyclerView with image+heading+discription Item Click open differnt 5 activities, for example:- click 1 st item open Activity 1, click 2 nd item open Activity 2 , click 3 rd item open Activity 3 , click 4 th item open Activity 4, click 5 th item open Activity 5. {make this app your subscriber boost 100000000 times}
Hi I am getting a continuous blank screen! Any help would be appreciated! I get an error saying: “E/Recyclerview: No adapter attached; skipping layout” and it seems that the valueEventListener is not firing
@@_foxandroid Hi I have followed your tutorial perfectly but it in getUserData, it doesn't run past Firebase.getInstance line. After doing that it doesn't do addValueEventListener. Could it be due to me not having an import? Or something else?
13:30 What if user is a some of children then how we call it(ex mainServer - user - etc.. like that). I just put .child() function at the end like getReference().child("mainServer").child("user") but it crashes need a help
Great Tutorial! But when i add a second element after just adding the first one..i have a bugged recyclerview. it shows me the first element two times and then the second element. and it gets really buggy when i add an third element...can you pls help?
@@_foxandroid I tried doing cardview, lienear, I still tried to create a button but whenever I do .setOnClickListener, da nullpoint (java.lang.RuntimeException: Unable to start activity ComponentInfo{com.feb.group/com.feb.group.ListaContatos}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference) can you help me?
@@_foxandroid very good guy, still interpreting how it works, because I don't understand english, but I wanted to know that as a video you already have a call from each position, because I put set click to go to another activity so how do you leave this activity with data for guy position? if you can’t understand very well don’t blame translater kkk
make a app RecyclerView with image+heading+discription Item Click open differnt 5 activities, for example:- click 1 st item open Activity 1, click 2 nd item open Activity 2 , click 3 rd item open Activity 3 , click 4 th item open Activity 4, click 5 th item open Activity 5. {make this app your subscriber boost 100000000 times}
make a app RecyclerView with image+heading+discription Item Click open differnt 5 activities, for example:- click 1 st item open Activity 1, click 2 nd item open Activity 2 , click 3 rd item open Activity 3 , click 4 th item open Activity 4, click 5 th item open Activity 5. {make this app your subscriber boost 100000000 times}
Yes ! Yeeees ! The only approach that finally works for me after 3 months of hard researches and tests and disappointing mistakes !!! 😁I was trying to show firebase data in a RecyclerView of a TabbedView with a Drawer Navigation... But I never could ! Thanks Foxandroid !!!
Here's a timeline of the video. I hope this will help:
00:00 - Intro
00:19 - Demonstration of the final app
01:20 - Connecting the project to Firebase
02:12 - RecyclerView activity (frontend)
02:43 - Items for the RecyclerView (frontend)
04:37 - Data classe / Model (backend)
05:54 - Adapter (backend)
11:08 - Getting the data from Firebase database & Setting the Adapter to the recyclerView (backend)
13:11 - Fetch data from Firebase receive (backend)
17:19 - Testing / The final app
Thanks to @Foxandroid 👍
I wasted at least two weeks to find solution how to add existing SQLLite database to my project and finaly instead of SQL I added my databse from Firebase whis is much more easier and faster. Thank you for this video. Good job!
Excellent series I really appreciate your tutorials keep up the good work
Thanks... means a lot ❤️
Thank you for the post, but I have a question.
In the case that it is in a fragment and not in an activity it does not work for me. Could you give me some tips?
The most awaited video... Thanks bhaiya
The Activity opens up blank where the data is supposed to be retrieved and then goes back to MainActivity or the app crashes. When I check the logcat it says "No Adapter Attached, Skipping Layout".
did you get the solution
@@codewinger9915 no help
thank you so much bro it made me cry
i tried so many times for days untill i watch this video
I just did everything what you showed
but showing this error message
E/RecyclerView: No adapter attached; skipping layout
and my app going back to main activity
Hey I am having an issue where the data is not read too my recycle view am doing everything you are doing but I cant get the data to pass
u r too much underrated but you are unabated
How to do this but inside fragment not activity? I have problems with that and can't find answers, code should be written differenty inside fragment .kt file and i can't figure it out. And I also tried to run this code from github but it's not working, a lot of errors show up.
For the main activity, did you do anything to it? or use it to call the other activites?
Yes put a button in Mainactivity to go to this activity or make this activity as launcher activity
man I love you and love your channel , thank you very much
Hello, dear friend, why is my project not working, exactly something is wrong when getting the database, can you help ?
I had an Error in line:
var dataItem = itemSnapshot.getValue(item::class.java)
itemArrayList.add(dataItem!!)
Failed to convert value of type java.lang.Long to String
Here is my solution:
var age = userSnapshot.child("age").value.toString()
userArrayList.add(User(age))
I have one question when I add data to the database will the UI get updated?
Parabéns meu amigo. Mesmo entendendo pouco de sua lingua eu consegui fazer tudo e funcionou direitinho. Obrigado pela ajuda. Ganhou um inscrito e um joinha.
Hi Can you do a demo using Android studio 4.2.2 for firebase and RecyclerView? Thanks
i followed this 4 times. but everytime i faild. when i click the "recyclerviewbtn", app sudenly shut down
Please share code pics on IG
Excellent work and I learned alot from you I want to ask if you can help me with something I want to know how the user can delete his event data but i want that data to be safe in farebase data base please tell me...
How can I reverse the order of the data that is display in the mobile? I want to show robert first to steve who will be in last place
Excellent work! Thank you for this
i am facing a problem.. when i eun my app it just show a blank and black page. Please Help Me.
For some time or continuous blank page??
@@_foxandroid Hi I am getting a continuous blank screen! Any help would be appreciated! I get an error saying: “No adapter attached; skipping layout”
everytime i put all the thing but it goes wrong please tell me what was the problem
Thank you sir!! for the tutorial, is it possible to make viewpager on this?
I have problem in MyAdapter holder.name.text and error is that text is unresolved reference
make a app RecyclerView with image+heading+discription Item Click open differnt 5 activities, for example:- click 1 st item open Activity 1, click 2 nd item open Activity 2 , click 3 rd item open Activity 3 , click 4 th item open Activity 4, click 5 th item open Activity 5. {make this app your subscriber boost 100000000 times}
Thank you so much!! really really helpful!
It's perfect!! How can I clicked and go to other activities??
Your video save my life
But this is not working 🤣😂😂
Hi I am getting a continuous blank screen! Any help would be appreciated! I get an error saying: “E/Recyclerview: No adapter attached; skipping layout” and it seems that the valueEventListener is not firing
There must be some mistake in the code!! Please rewatch and try to find the mistake
@@_foxandroid Hi I have followed your tutorial perfectly but it in getUserData, it doesn't run past Firebase.getInstance line. After doing that it doesn't do addValueEventListener. Could it be due to me not having an import? Or something else?
Please share the issue on Instagram
@@_foxandroid sure
@@_foxandroid I have sent you on instagram foxandroidblog
Can i know why i get blank?
how you wrote on click function , please provde the code
DM on IG or check our discord server
sir on request please make video for live data change that also change on recycler view show live
Sure Gowtham...stay connected
@@_foxandroid thank you so much sir
Actually now only I’m learning to develop android apps your video very helpful for me 🥰
13:30 What if user is a some of children then how we call it(ex mainServer - user - etc.. like that). I just put .child() function at the end like getReference().child("mainServer").child("user") but it crashes need a help
Muchas gracias colega, me fue de gran ayuda!
thanks for the great tutorial and source code
thank you so much sir......
thank you very much for such a nice tutorial
please make same video for nested recycler view
Sure bro!!
@@_foxandroid also can you please make these firebase database video using firestore ... facing some issue in last can you reply me on instagram
Yeah sure man....but i guess i haven't got any text on Instagram
how u can implement livedata with it ??
You have to implement some architecture like MVVM, MVP, etc
thanks bro for this amazing video
Great Tutorial!
But when i add a second element after just adding the first one..i have a bugged recyclerview. it shows me the first element two times and then the second element. and it gets really buggy when i add an third element...can you pls help?
my key has space in it how can i name the data class variable
Space is not recommended please user underscore instead
Really Good !! You do it !!
thak you! very helpful video
Please make this app tutorial with mvvm architecture
Wait for some time
thanks alot,subscribed!
You are my saviour thankkk youu
👍👍👍👍 great tutorial
is it possible to make each item clickable?
Yes!!
@@_foxandroid I tried doing cardview, lienear, I still tried to create a button but whenever I do .setOnClickListener, da nullpoint (java.lang.RuntimeException: Unable to start activity ComponentInfo{com.feb.group/com.feb.group.ListaContatos}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference)
can you help me?
ruclips.net/video/dB9JOsVx-yY/видео.html
This video might help please check it out
@@_foxandroid very good guy, still interpreting how it works, because I don't understand english, but I wanted to know that as a video you already have a call from each position, because I put set click to go to another activity so how do you leave this activity with data for guy position?
if you can’t understand very well don’t blame translater kkk
Do you mean to send data to the next Activity??
thank you for your tutorial !
cool, but how if we wanna retrieve image, does anyone know :(
You are my god!!, thanks to save me
Glad it helped!!
Thank you so much!!
How to do this but with firestore?
Will make video on that soon!!!
JUST AMAZING
Thanks man.... means a lot❤️
Thank you so much
Thank you Sir
wow not even your source code works!
good that i tried that tutorial for 3hours!
true 💯 showing No adapter attached
I have a blank page
java.lang.ClassCastException: androidx.appcompat.widget.AppCompatImageView cannot be cast to android.widget.TextView
very good video helped me a lot
this is not working showing E/Recycler View Adapter is not attached
Again Thanks
❤️
Good video
The app is crashing sir
Please check the logs and find the reason for the crash!
Please share the log pics on Instagram
Many Thanks
thank you
make a app RecyclerView with image+heading+discription Item Click open differnt 5 activities, for example:- click 1 st item open Activity 1, click 2 nd item open Activity 2 , click 3 rd item open Activity 3 , click 4 th item open Activity 4, click 5 th item open Activity 5. {make this app your subscriber boost 100000000 times}
make a app RecyclerView with image+heading+discription Item Click open differnt 5 activities, for example:- click 1 st item open Activity 1, click 2 nd item open Activity 2 , click 3 rd item open Activity 3 , click 4 th item open Activity 4, click 5 th item open Activity 5. {make this app your subscriber boost 100000000 times}