You can support the channel --> www.buymeacoffee.com/foxandroid
@sahiljain30832 жыл бұрын
the way you tell everything u are doing is amazing...viewer automatically understands the scenario. thanks..u got a new subscriber 😃
@vedishadubey26012 жыл бұрын
thankyou soo much....it really helped me a lot...just the dependencies adding was not shown in the video...so this created a bit problem...else to it was very helpful.
@tushalsingh74612 жыл бұрын
Thank You very much Sir . This video helped me a lot. I searched many videos but i didn't get perfect solution for my project. Once again Thanks.
@sravanth4739 Жыл бұрын
Sir it Doesn't work even after trying multiple times
@qasiahputri94962 жыл бұрын
Thanks a lot sir, your video really help my final project 😄😄😄
@bizcodetech3 жыл бұрын
New way of implementation. Best.
@creativeteenager9107 Жыл бұрын
excuse me, I want to ask. After the data is successfully displayed, how do I add a button, and if the button is pressed, it will move and display the same data?
@ADeviousyoungman Жыл бұрын
Speeda thru the xml layout and now i have to find some way to put two linear layouts right beside eachother and not in each other
@vanessafimer62252 жыл бұрын
Thanks Foxandroid for the video. I have 2 questions. 1) Will your solution automatically update the Recyclerview in the UI when a new entry is stored in the Firebase Database? 2) As far as I understand you should not use a database like this in general. You should use a Viewmodel and LiveData. Why are you not using them?
@_foxandroid2 жыл бұрын
For updating RecyclerView make sure on datachange callback method is used Yes MVVM architecture should be used..but the intent of the tutorial was to keep it simple so even beginners could understand
@agdwhite54212 жыл бұрын
Trying this on a Recyclerview inside a fragment and not working
@NURALYSSASYAZMEENBINTIABDULRAS Жыл бұрын
at first doesnt work for me, my recyclerview is blank. my apps run perfectly does not shows errors just the blank. so i need to figure out by adding dependencies and change the firebase user to my firebase child name. and it works data already appeared.
@8dmusicalbeats50 Жыл бұрын
i have same problem
@isaacinvang3 жыл бұрын
I didn't get any data when clicked on the recycleview button.
@bonfaceosuka2 жыл бұрын
Thank you a lot for this video its really helpful and you have explained really well.
@pillow123321ify2 жыл бұрын
good video but I need to give suggestion that kindly explain each keyword used and why it is used.
@_foxandroid2 жыл бұрын
Sure! Thanks for the feedback
@이영재-q8t2 жыл бұрын
Thank you. I survived thanks to you.
@ainaafifah56873 жыл бұрын
hi thank you for the tutorial, I have a question regarding the data. The recycle view appears in my application but empty data. I already called the path on the database but the data did not appear. can you help me, please?
@_foxandroid3 жыл бұрын
DM source code on IG
@hemanthsmanjunath213 жыл бұрын
even i am facing the same problem
@Alina-bc9xu3 жыл бұрын
can you please say what was the reason of this problem? i am facing the same issue
@hemanthsmanjunath213 жыл бұрын
@@Alina-bc9xu child name i had written wrong, check even the casing
@aisyah59103 жыл бұрын
Hyeee sis, would you mind to have a chat with me?
@eyyosyber2 жыл бұрын
Thanks for the tutorial but can I ask something ? after Im done following your tutorial and run it on my emulator whenever I want to go to the view data page my app crash. What is the problem and how can I solver it ?
@Sagar_Asseccibilty Жыл бұрын
Sir make vieo on firebase data pagination, there no videos available on KZbin for pagination
@majhawk8431 Жыл бұрын
'from(android.content.Context)' in 'android.view.LayoutInflater' cannot be applied to '(com.google.firebase.database.core.Context)' can you tell me what to do here in this error
@JA5GZ2 жыл бұрын
Thank you so much for your support
@anujaS2 жыл бұрын
Sir I followed the whole video twice but in my case it is not displaying and the app is crashing again and again. plz help
@_foxandroid2 жыл бұрын
DM your code on IG
@sportblue Жыл бұрын
Sorry for bothering please how can I add data to existing firebase child node without overwritting existing data
@vadimqaaa34833 жыл бұрын
I've got error (java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference) in MyAdapter class on method GetItemCount witch returns list.size(); !Please help!
@_foxandroid3 жыл бұрын
Please share the screenshot on IG
@SudhirKumar-qd5th3 жыл бұрын
Arre getItemCount pe return krde list.size();
@valobhprasad-bn5vn Жыл бұрын
In recycler view I'm not able to view the last posted data as it is covered by my bottom navigation bar so tell me what to do abt that.... And also whenever I'm posting anything the recycler view catches it and shows it on the screen but the latest posted messages are getting at the end of the page.... Is there any way to reverse the process and post the lates message on the top....
@rahulgosavi54123 жыл бұрын
You saved my life.... 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@_foxandroid3 жыл бұрын
Glad it helped.❤️
@beatrisebertule2827 Жыл бұрын
Which class do we have to call if we want to open the activity?
@OURMIND3 жыл бұрын
sir , Duplicate RecyclerView Item on Data Added or Deleted. How to fix this ?
@creativearts49172 жыл бұрын
bro how do we reset recycler view?? a bug stays without this method the previous items will also get added again when new data is added to the list please show a way to only get the new data or to reset the recycler view🙌🙌🙌🙌
@yogendrapawar1738 Жыл бұрын
very informative and on point
@ishaqsites Жыл бұрын
can you do a tutorial on how to add a searchview for it please
@RahulDebBhandari3 жыл бұрын
Thank You Very Much Sir.. Good Explanation..
@_foxandroid3 жыл бұрын
Thanks....i'm glad it helped!!❤
@mohamedredha95862 жыл бұрын
when i pass the context in MyAdapter=new MyAdapter(this,list); it says cannot be implied
@jenjiliv2659 Жыл бұрын
how do you organiza, like query data based on its specific. like i want to store all of the student with the same courses in a recycler.
@kgjr.6224 Жыл бұрын
I have a doubt about the User.class in the for loop how it is getting all the data
@sckly433 жыл бұрын
Good video brother 👍😁
@MinhLe-lu7bv2 жыл бұрын
How can I reload data when I add 1 user into firebase without duplicate old data show on Recyclerview? Thank you in advance.
@_foxandroid2 жыл бұрын
Watch my latest video using MVVM architecture
@MinhLe-lu7bv2 жыл бұрын
@@_foxandroid Thank you, your guide help me a lot.
@TimothyDiete-Spiff Жыл бұрын
Thank you very much, this tutorial has helped me a lot
@零夜-r1p3 жыл бұрын
when I show the data in recyclerView. It's work but can't show all the thing in the view. Not the layout problem and I check many time but still cant find the problem. Can you help me? Thank a lot
@hafizwaqas29852 жыл бұрын
My app fetch realtime data base at debug mode After updating my app on play console then my app crash on fetching the data Error in play console crashes is: DatabaseExc3 Eption on Data change any solution
@aishwaryagaikwad5793 жыл бұрын
Sir I'm not able to view the data from firebase in recyclerview. Please help me.
@_foxandroid3 жыл бұрын
Please DM code pics on IG
@ams_murdi2 жыл бұрын
Hello, I've been able to retrieve data from firebase, but there is a problem when adding manual data in firebase and recycleview shows all data twice. I have to re-open the layout if I want to go back to normal, any solution?
@mazerazskrrtt4763 Жыл бұрын
Sir I need Help . when i click the recyclerview it keeps crashing :(
@moumabenaf9402 жыл бұрын
Sir can you please tell if this method can be applied on a listview i faced a problem i' retrieving data from real-time database thank you sir
@_foxandroid2 жыл бұрын
Yes it can be used with listview as well
@assamcaptures3 жыл бұрын
THANKYOUU SO MUCH MY FYP IS COMPLETED JUST BECUAYSE OF YOU MAY YOU GET GOOD GIRLFRIEND
@_foxandroid3 жыл бұрын
Glad it helped!!
@vegaboy20033 жыл бұрын
Tank you for good video, i have only 1 problem, when change data in firebase recyclerView not refresh data, i must go out e reopen app, you can help me ? tank you
@Snuiper2283 жыл бұрын
Very helpfully thank you. You safe a lot of my time
@_foxandroid3 жыл бұрын
Glad it helped!
@qosku9 ай бұрын
This video dont use image for recyclerView
@shubhampednekar60283 жыл бұрын
I am implementing recycler view inside a fragment and have similar implementation as you did, but mine is not scrolling though data is completely fetched from firebase, please help!
@_foxandroid3 жыл бұрын
You need to modify things a bit will surely make a tutorial on that soon
@shubhampednekar60283 жыл бұрын
@@_foxandroid just to add... my list is also inflated and all things are working fine(eg...displying correct data and images) ...just the recycler view loses its scrolling ability.
@epic_clickks3 жыл бұрын
@@shubhampednekar6028 try to add height and width in dp
@mohamedredha95862 жыл бұрын
@@_foxandroid did u post that turoriel bro
@mohamedredha95862 жыл бұрын
did u find the solution ?
@Star_Bawa9 Жыл бұрын
Brother i have a very serious problem my project is not been able to detect FirebaseRecyclerView so please help
@fadzli12342 жыл бұрын
Nice guide. It helped me on making a list for 1 item. Can you tell me how to add another item in the list like for example : I added foodlist before and now I want to add drink list on separate category?
@Urdu_PoetryPoint2 жыл бұрын
can we do same like this work with default string array to get single string or multiple thanks for your response
@LokyVanHelsing3 жыл бұрын
with this system only the name get shown and the logcat says "no setter/field for age"
@_foxandroid3 жыл бұрын
Share code pics on IG
@dudeja2594 Жыл бұрын
If we only want to show information to the user ?
@mrnabil55393 жыл бұрын
Hi sir, do u have tutorial on how to implement onClick button on RecycleView to delete or update on firestore?
@NeerajSagar-us7we2 жыл бұрын
Hello sir can you please rectify my query which I'm facing in cart list in my app when I'm adding 13+ items my cart list total amount is increasing when I'm scrolling up and down the page....can you please help me in this know
@skrishnareddy51093 жыл бұрын
Thanks you for a good explanation
@_foxandroid3 жыл бұрын
❤️
@freetoothpicks2 жыл бұрын
Thank you KING !
@vildanvinanda99502 жыл бұрын
hi sir how to show detail data from recyclerview from fragment to new activity? Can you help me?
@abhishekanand99012 жыл бұрын
hello sir, thanks for this video it helped me a lot, can u plz tell what to do if I want to display specific user like if my database stores both user and admin but I want to display only admin data in recycler view
@_foxandroid2 жыл бұрын
Please add only those user the arraylist that you want to show
@은혜-s8z3 жыл бұрын
when i add a new item to the database through the app and then i go back to my recycleviewer the items are doubled. any idea how to fix this? thank you!
@_foxandroid3 жыл бұрын
Clear the arraylist before putting new values
@은혜-s8z3 жыл бұрын
@@_foxandroid it worked now. thank you so much for your help
@saikrishnatbijil3 жыл бұрын
Sir i have done all the code correctly and it is not displaying the data dont no why can you please explain sir please
@_foxandroid3 жыл бұрын
DM on IG
@ravalsaumya34563 жыл бұрын
I'm not getting data from firebase to recycler view , can you help?
@harshwardhandeshmukh903 Жыл бұрын
How to implement search in the same thing ?
@aamirkamaal70523 жыл бұрын
Sir i want fetch from firebase to real device not virtual device... I connect my device to system and after instalation successful than i want disconnect my device from system than i want to open app and fetch all data.... I hope you see my comment and reply as soon as possible
@_foxandroid3 жыл бұрын
In this tutorial the app is running on actual device only....this methos is for the same
@manashpratim7773 жыл бұрын
Sir I have a database structure like this :- App name- User- UID1- name : "name" email : "email" Post1- Title : "Text" Desc : "Desc" Post2- Title : "Text2" Desc : "desc2" UID2- name : "name" email : "email" Post1- Title : "Text" Desc : "Desc" Post2- Title : "Text2" Desc : "desc2" So i want to Retrieve the value of Desc and put it into recycler view. How can i do that? PLEASE tell me 🙏
@FernandoGonzalez-mo5il2 жыл бұрын
Did you get the solution, I'm having the same problem
@gokul49243 жыл бұрын
Can you please do a video for search bar in recyclerview in Java?
@_foxandroid3 жыл бұрын
Will make it soon, stay connected!!!
@gokul49243 жыл бұрын
@@_foxandroid waiting for it bro...
@mridulchakraborty60112 жыл бұрын
Thank you so much sir
@atalyce45773 жыл бұрын
Hey, I followed all of ur step but my app doesn't retrieve the data. Do you had any idea what went wrong? Sorry I can't place the snippet code here. Any guess would be appriciated
@atalyce45773 жыл бұрын
I'm using the recylcerview in fragment
@_foxandroid3 жыл бұрын
Forst check if f you getting data in your Fragment or not
@atalyce45773 жыл бұрын
@@_foxandroid I'm not getting data in my fragment. Can I DM ur instagram?
@_foxandroid3 жыл бұрын
Yes please
@Mt-xj3gr3 жыл бұрын
Please make a video on multiple recycler view ( nested recycler view)
@_foxandroid3 жыл бұрын
Its already there
@Mt-xj3gr3 жыл бұрын
@@_foxandroid multiple recycler view ( nested recycler view) for firebase/firestore
@priyogopalsingha34873 жыл бұрын
How can I use a query to choose specific set of nodes to be displayed in the recyclerview?
@_foxandroid3 жыл бұрын
Please go through the documentation
@akrutisingh73043 жыл бұрын
Great sir
@thepowerfulkiller84743 жыл бұрын
How do you implement onClick function to expand the data shown into a full activity?
@_ytuser112 жыл бұрын
holder.setonclicklistner in onbind (in adapter class)
@Eric-ki4ke2 жыл бұрын
How do you get the activity_userlist.xml to display when you Run the app? Each time I try running the app I just get the 'main_activity.xml' file displaying in the virtual device.
@jaysonp94262 жыл бұрын
Same
@wwehysonwayne60382 жыл бұрын
Hello great video. please i wish to ask if i can retrieve only the first names and the randomize them in to groups of 3 or 4
@intelligentcoding6893 жыл бұрын
Hi, it's nice video. I did the same and it's working perfectly in debug mode, but crash in release version after publishing on Google play. Can you give me advices to solve the problem?
@reneejones87393 жыл бұрын
My realtime database isn't adding any data, please assist
@_foxandroid3 жыл бұрын
DM code pics on IG
@juandavid51533 жыл бұрын
when i run my app the cardviews are empty, someone can help me pleeease the Logcat sent me this W/ClassMapper: No setter/field for firstName found on class com.example.recyclerviewactivityprueba.User
@_foxandroid3 жыл бұрын
Mske sure the variable name in object class matches with the firebase field name and you have setter methods in the class
@mmus983 жыл бұрын
sir pls make a button on recyclerview, if button clicked it will push data on firebase
@_foxandroid3 жыл бұрын
Will surely consider it!!!
@harsh.jain222 жыл бұрын
Thanks a ton!!!!!
@adityarevankar65293 жыл бұрын
Hey in my app it worked but every item is showing twice.
@_foxandroid3 жыл бұрын
Check the array list in which you are adding objects that might be executed twice
@adityarevankar65293 жыл бұрын
@@_foxandroid The problem in my app is when the app fetches data on restart of the app, it shows the data correctly, but when i add something in my edittext and upload the data ,the recycler view shows every item twice.
@_foxandroid3 жыл бұрын
Please clear the list every time you fetch the data
@apumondal53863 жыл бұрын
I have geting a problem, fetching black data
@_foxandroid3 жыл бұрын
DM on IG
@sahilthegeek3 жыл бұрын
How I set image like holder.textview.settext() What I wrote In image view ?holder?
@_foxandroid3 жыл бұрын
Depends where is your image stored??? If it is in bitmap object then holder.imageview.setbitmap()..
@gta-servicesgta-services73963 жыл бұрын
Hi, It‘s very nice and do you have Tutorial with Image like this Tutorial?
@harisibrahimovic19913 жыл бұрын
Amazing video thank you so much.
@_foxandroid3 жыл бұрын
Pleasure...❤️
@alexandermedinskii13262 жыл бұрын
beautiful music!!
@neerajverma92263 жыл бұрын
It's not realtime. Any changes will not reflect in the list
@_foxandroid3 жыл бұрын
@Neeraj "Realtime" in the title is used for the database name..... I'm sure small tweaks will make it a actual realtime as well if not getting updated
@BaoBao-qr2dy2 жыл бұрын
Can U help me History frome firebase to android studio ???
@nurshahieraazleen7563 жыл бұрын
Hi how to do like this but for various table? Not only one table like this. Thank you :)
@nidhishree99102 жыл бұрын
How can i put values from edit text of one activity to the recycler view
@_foxandroid2 жыл бұрын
intent put extra will do the work perfectly fine!!
@nidhishree99102 жыл бұрын
@@_foxandroid can u do me a favor?
@rahendraputra6500 Жыл бұрын
Recycle view duplicate when add some data on json
@charchit073 жыл бұрын
Thank you soo much
@Abby-rm3vs8 ай бұрын
If there is million of data in firebase so can it affect the app or app can become slow?
@King_yaama7 ай бұрын
Lol
@mewatiganahd61432 жыл бұрын
Hello dear sir Thank you for your very good explanation. But if the items are more than 50 the app is crashed how can I set the items count as I want
@NeerajSagar-us7we2 жыл бұрын
Hello can you show that how we should add upto 50 items in the cart list can you please explain know....
@nomanqadir96233 жыл бұрын
having exception: com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to type com.example.userdata.User
@nomanqadir96233 жыл бұрын
in the function OnDataChange()
@_foxandroid3 жыл бұрын
DM on IG
@growwithaman90852 жыл бұрын
when we use modal class
@youssefelasery2 жыл бұрын
جزاك الله خيرا
@smhily3 жыл бұрын
Incredibly helpful video! One thing I still need help with, though - how do you re-organize the users by age/score? Basically I want to make a leaderboard that shows the users with the highest scores at the top, but I still want to use the Firebase timestamp-generated children (eg. Users > 2fI5nZavUacjiO6qN4g3yaWRtmg1 > Username: Bob; Score: 100). How would I organize the users based on their score value?
@_foxandroid3 жыл бұрын
There are two options you can do that at client side...i have video on that RecyclerView Ascending order....or you can query data in specific order
@smhily3 жыл бұрын
@@_foxandroid Awesome! That was actually way simpler than I thought. For anyone else looking for the answer, all you have to do is add this code to the EventListener (line 43) in the userlist Class: Collections.sort(list, new Comparator() { @Override public int compare(User o1, User o2) { return Integer.compare(o1.age, o2.age); } }); I placed it in-between where you check the dataSnapshot values and myAdapter.notifyDataSetChanged(); (approx. line 54), but you could probably add it somewhere else, I'm not sure. It was also necessary to change the age variable in my User object to an Integer - which you then need to convert back to a string before writing it to the text field. As a side-note, I would suggest that developers use a ListenerForSingleValueEvent instead of a ValueEventListener, otherwise the RecylerView will update in real-time which may result in >100 simultaneous connections or data usage in excess of the free 10GB p/m if your app gets big. Hope this helps someone!
@majhawk8431 Жыл бұрын
@@_foxandroid same i want to show the list according to food type like we have in mcdonald app Eg meal ,combos , wraps etc
@AssamCodingVlogging Жыл бұрын
I have phone number in place of name. How can I get the data. Please help me out