Firebase Realtime Database Tutorial for Android - Retrieving Data #2
Vložit
- čas přidán 28. 02. 2017
- Check the UPDATED Firebase Database Tutorial Here
👉 👉 bit.ly/36xl4nR
Here is a complete Firebase Realtime Database Guide. This is the second video and in this video we will learn.
-Fetching the stored data from Firebase Database
-Displaying the Fetched Items in a ListView
For the source code of this project go here:
👉 www.simplifiedcoding.net/fire...
Finally I would like to tell you all that, if you love my content please SHARE my courses to your friends. You can share this course, to your Facebook, WhatsApp etc.
For more contents related to Software Development visit my website.
👉 www.simplifiedcoding.net
You can SUPPORT me if you want
👉 Patreon: / belalkhan
👉 UPI (India Only): probelalkhan@okaxis
👉 PayTM (India Only): +917549161079
👉 PayPal: www.paypal.me/probelalkhan
You can also check some of my other courses from these links
👉 Android Game Development Tutorial: bit.ly/38JmltC
👉 Retrofit Android Tutorial: bit.ly/2DEwAl1
👉 Android RecyclerView Tutorial: bit.ly/2TqVjPz
👉 Android Room Tutorial: bit.ly/2PfQHeN
👉 Firebase Auth Tutorial: bit.ly/2WUGhEo
👉 Android Notification Tutorial: bit.ly/2Sc6jQl
👉 Building a Complete Wallpaper App: bit.ly/30UN8zV
👉 Build Tic Tac Toe in Android: bit.ly/30goxW0
Lastly if you want to connect with me, you can follow me on my social profiles
Facebook: / simplifiedco. .
Instagram: / probelalkhan
Twitter: / probelalkhan
❤️❤️ Thank You All for the Love and Support ❤️❤️
#FirebaseAndroidTutorial
#FirebaseDatabase - Věda a technologie
Check the UPDATED Firebase Database Tutorial Here
👉 👉 bit.ly/36xl4nR
Thank You
After many frustrating hours search for a simple list view you have given me the perfect answer which is easy to follow. Thank you so much for your interesting series
For those who are getting an error when you create an instance of ArtistList adapter = new ArtistList(MainActivity.this , artistList);
If you have a fragment you can just replace MainActivity.this to getActivity()
Hey guys.. i want to thank u all from simplified coding ..u guys helps me alot in my project! Thank you so much !! 😊
thank you ... your explanation is clear and easy to follow ... good luck in your career
This was what i specifically looking for thank you :)
THIS saved me! THANK YOU!
Thnakyou so much for your videos... its working perfectly and more helpful...
Thank you sir, you're a life savior😇 may god bless you
Thank you ...very nice tutorial!!!
very nicely explained. it will be great if each thing like parameters, constructors their linkage is elaborated. Thanks
Great help ! Thank you
Its been really nice, clean and helpful video ....Thank you..keep sharing.
+Sandeep Singh thanks
Thank you. God Bless You.
Neat stuff bro. Keep it up.
It's really helpfull video keep it buddy. N thanks
Amazing, Thank you so much
You explain very fine brother, Keep up the gud work
Very good Tutorial series Belal
Thank you for these tutorials! May I know which screen recorder you use sir?
great video, need a video regarding connecting the same firebase to a web application.
thank you so much this was very helpful but i need help on how to retrieve the data and add it to a real time graph. looking forward to your reply thank you in advance
Thanks Buddy!
thnx bro...run perfectly...
great.very clear.
Thanks for the awesome tutorials. Could you please do another one on how to filter data from firebase database e.g. In your case you can filter all artists who does "Rock" music and display them on a recyclerView / listview
Your videos are awesome !! Can you please make a video on multilevel indexing !!!?????? Please let me know as soon as possible !!!
thanks man 1 question though how do yo remove 1 item individually so if let say i click on number 5 item on listview so i want to remove it from list view, but that is not problem but my problem is how you r going to remove associate data at position 5 on firebase so i want position 5 on firebase to be removed aswell
thank you
thanks,,.,.nice tutorial,,can you tell me how can i show update item in the top of list view.
Thank youuu...God bless youuu..😘😘😘
Are you sure onStart is the right place to put ValueEventListener? I'm having strange behaviors with data element multiplication with me.
Your video is really useful. Please make a tutorial to perform all the join operations in firebase database.
this is an awesome tutorial. I am a beginner and was able to follow all the steps very clearly and it works!
an added question if you have time: how would i make it so that the list can be shown reversed (with the most recent added item on top?)
did you learn how to reverse it? Please help
Thanks for the tutorial. Only one doubt: Why are you using a ListView instead of a RecyclerView?
sir is there any method to use single recyclerview + cardview for different data coming from firebase
Great Series
Check the updated videos here:
Firebase Database Tutorial czcams.com/play/PLk7v1Z2rk4hg3cbALQuTQOTgpZ9e9T8bi.html
good video, a question i have: why use an array adapter? what is the purpose
Hi, if I want to fetch a video from database (MySQL) which is in mp4 format will it be possible? And how would I be able to do it?
thank you bro
very usefull tutorial bro
Thanks. i have a list of strings name string1, string2, string3. How can i assign the values from firebase to each string according to iteration
Could you please explain how to put implement this in one of the tabs in tabbed activity? I have tried to call this class from one of the tabs, but the screen remains blank
Hi Dear, Please let me know how to set data of only current user using the Model used in application. Thanks
Note, that instead of creating new ArtistList adapter each time new artist is added, you could add a method to your ArtistList adapter, that would change the underlying data array and notify the View that the data has been changed, so that the view redraws the list anew. This way you re-use the already bound instance of the adapter. It would be even better to tell the adapter that new item is to be added, and let it handle the underlying data storage (encapsulation), and notification to the view such that you optimise the drawing of the ListView to only re-draw what is needed (new item), instead of re-drawing the entire list.
+GTL yup.. obviously.. that is much better way
Another good tutorial but how can you make the spinner scroll smoothly?
It might be preferable to attach a "ChildEventListener" than "ValueEventListener". The former has more precise override functions that would reduce lines of code and probably the amount of data downloaded.
Thanks so much can you please do a device to device firebase notification?
Great tutorial, thank you so much. May Allah always bless you!
Thank you.. :)
Oh ya we are waiting for the next tutorial
Its live now
very good.
good work .
very helpful
how can i add a button in every list_layout of list view....in order to transfer to a different activity using intent
nice tutorials
Very nice explanation of all the codes. Awesome. But I have a query, if we are making a chat application using these same features how can we send notifications to all the devices when any new data is added to the database. Please help.
I will post a tutorial for this.. you can send the notification easily from device to device
This is awesome! But what if I want to get the details of a specific users, how can I use their id to get their specific details. For example if I want a user to access and change their personal details.
nice tutorial sir
Sir? How to sort the artist? The newly added artist should be at the top? How can I do it?
Sir, How can we use custom array adaptor for list view in Fragment.?
your videos are very helpful, can you pls make videos on react native with firebase?
Thanks
how to display data from database in a separate activity ,in textviwes not in arraylist, please help
please how can i retrieve the data stored in firebase to display in a listview on a different layout other than the main activity layout
Hello, how can I do the same, but with cam capture ?
thanks
THANKS SIR, GOD BLESS YOU ALWAYS O:)
Nice..👌
Sir, how can i display the artists in a new page and not below the place where im gettg the data?
what need to change if I want to show the data to a logged user or specific user. Please help
Can we implement search for this particular project? If so how to?
How do I make the custom array adapter work inside a fragment? I am able to retrieve data and display in listview in an activity. However, when I try to use it in a fragment the listview remains blank.
Hi sir, Do you have solution for prevent user enter same artist name to the database?
(anonymous com.google.firebase.database.ValueEventListener,
List)
im getting such kind of error when i pass the arraylist to the adapter
Sir u have video related to list of things with add to cart using firebase ...kindly answer this thanks
what to do if i want the data from two tables in my feeds so the same could happen
Hi there, there is something i wish to ask you. How do we do the search on any of the detail in the custom listview like when you type Atif, the listview will only show that name? I am very new to firebase database so i am very clueless in it. Please do provide the code for me so i can learn and understand. Thank you
Hi, can I check if I have many data insert, my list view will not be able to show all the data. Are there any other ways I can retrieve and see all my data?
When I give the values it will inserted ,as come to follow second tutorial the value which am giving and reviewing successfully but spiner is not opening when I need to change the node (pop, suf,)..Only rock is stick on in my App ..Can you plz Sujest me to fix it?
can retrieve data to list view which is added at another layout
hie simple coding
can you make a survey creator app which fetches data from firebase database or storage and user can also create surveys to store it in firebase database
How can I retrieve any particular stored data OnMarkerClick method? Please help. Thanks!
You just saved my ass you are awesome :D
@SimplifiedCoding, This is just what I've been looking for. Thanks. Can you do a tutorial on firebase admob? Thanks again.
Yes sure.. we will try to post it ASAP
Okay, include native ads to match the look and feel of the app, like say an ad in a cardview list. Thanks
Is there any way to place the populated list on a new activity? I have tried doing this myself but when trying to retrieve the data from the database on a new activity, the data gets returned as null.
What can I do for save dada of different authencated email yousers
Sir! While retrieving data given child is not present in firebase means how should we diplay that database is empty add the data ??
Sir, if i want push notification with that means if i store the information into database then i want push notification , so how can we do that
Hello there I'm Prakash.
I need a help..In this video we are retrieving the list of items.But after logging out and again if we logging in with another ID we are getting the same items which we are previously added so how to eliminate that constraint.???
If we are logging in with another ID means then the items which we are added should be retrieved.So how to do this.?
And one more question..can we get the list of items in separate activity.If so kindly help me. :).
Thank You.!
Hi, first of all, very nice video, maybe one of the best... And second, I done all the same in video, but I am just getting last value from firebase on my list... Anyone know how to fix it?
i am getting error when ArtistList adapter = new ArtistList(MainActivity.this , artistList);
...please help! er
error "this is not an enclosing class
"
Hello. Very nice tutorials. I m authenticating users with email/password but when trying to read from database the onDataChange(...) is not called. The strange thing is that when I sign out and then sign in, the method is called successfully but after some time I get this error. is there any timeout that must be changed or how can I work around this problem...
can we retrive the data into spinner instead of listview ?
good
how to retrive specific data like specific singer name or specific genere?
can the firebase data saved through form saved in excel file?
Help oh
I have One Fragment class called TabFragment1.java and ArtistActivity.java
When clicking on ListView itemOnClicllkListener to open a new dialog(which is ArtistActivity.java via intent, my App Crashes..
Questions is ,how to open ArtistActivity.java from TabFragment.java
Was able to implement it properly. But the app crashes if the list it too big. Any suggestions to make it scrollable?
What if you want to list your artists on a different screen? Not on the same screen you're adding artists?
I love you genius indian man!
Thank You :)
if i want retrieve data from another activity then what should i do??not in main activity
I am going to develop blood donor app. I want to display particular blood group donor list as per user search. So how can I show? Please guide.