Firebase Realtime Database Tutorial for Android - Retrieving Data #2

Sdílet
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

Komentáře • 310

  • @SimplifiedCoding
    @SimplifiedCoding  Před 4 lety

    Check the UPDATED Firebase Database Tutorial Here
    👉 👉 bit.ly/36xl4nR
    Thank You

  • @neilmilmine6493
    @neilmilmine6493 Před 4 lety +1

    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

  • @gallegom58
    @gallegom58 Před 7 lety +15

    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()

  • @zenxd4993
    @zenxd4993 Před 6 lety

    Hey guys.. i want to thank u all from simplified coding ..u guys helps me alot in my project! Thank you so much !! 😊

  • @zuhairhd
    @zuhairhd Před 6 lety +1

    thank you ... your explanation is clear and easy to follow ... good luck in your career

  • @akshil5967
    @akshil5967 Před 6 lety +1

    This was what i specifically looking for thank you :)

  • @Dohman
    @Dohman Před 6 lety +1

    THIS saved me! THANK YOU!

  • @pengyouglobalsystems6690

    Thnakyou so much for your videos... its working perfectly and more helpful...

  • @johnangeloocfemia4136
    @johnangeloocfemia4136 Před 5 lety +1

    Thank you sir, you're a life savior😇 may god bless you

  • @echeverri1234
    @echeverri1234 Před 7 lety

    Thank you ...very nice tutorial!!!

  • @kamranahmed4974
    @kamranahmed4974 Před 6 lety

    very nicely explained. it will be great if each thing like parameters, constructors their linkage is elaborated. Thanks

  • @ZorVlogs
    @ZorVlogs Před 6 lety

    Great help ! Thank you

  • @chaipechale
    @chaipechale Před 7 lety +7

    Its been really nice, clean and helpful video ....Thank you..keep sharing.

  • @KasunWeerasingheLeo
    @KasunWeerasingheLeo Před 4 lety

    Thank you. God Bless You.

  • @fawzan
    @fawzan Před 5 lety

    Neat stuff bro. Keep it up.

  • @toxicmario6111
    @toxicmario6111 Před 5 lety

    It's really helpfull video keep it buddy. N thanks

  • @Ricardofox12
    @Ricardofox12 Před 6 lety

    Amazing, Thank you so much

  • @miles_whalberg
    @miles_whalberg Před 6 lety

    You explain very fine brother, Keep up the gud work

  • @vishalkumarsonawane6772

    Very good Tutorial series Belal

  • @HowRandomIsRandom
    @HowRandomIsRandom Před 6 lety

    Thank you for these tutorials! May I know which screen recorder you use sir?

  • @anandbarai197
    @anandbarai197 Před 5 lety

    great video, need a video regarding connecting the same firebase to a web application.

  • @nyaraiyvettemawandu8375

    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

  • @paraggupta5473
    @paraggupta5473 Před 6 lety

    Thanks Buddy!

  • @asifmahmud7025
    @asifmahmud7025 Před 5 lety

    thnx bro...run perfectly...

  • @sagarghare9829
    @sagarghare9829 Před 6 lety

    great.very clear.

  • @harrisonorinda9498
    @harrisonorinda9498 Před 6 lety

    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

  • @krishnakantmodani353
    @krishnakantmodani353 Před 5 lety

    Your videos are awesome !! Can you please make a video on multilevel indexing !!!?????? Please let me know as soon as possible !!!

  • @ZinduZatism
    @ZinduZatism Před 7 lety

    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

  • @yazdani5785
    @yazdani5785 Před 7 lety +1

    thanks,,.,.nice tutorial,,can you tell me how can i show update item in the top of list view.

  • @jishnup8795
    @jishnup8795 Před 4 lety

    Thank youuu...God bless youuu..😘😘😘

  • @luispereira8391
    @luispereira8391 Před 4 lety

    Are you sure onStart is the right place to put ValueEventListener? I'm having strange behaviors with data element multiplication with me.

  • @muhammadasad7740
    @muhammadasad7740 Před 4 lety

    Your video is really useful. Please make a tutorial to perform all the join operations in firebase database.

  • @Bluemoonredwine
    @Bluemoonredwine Před 6 lety +1

    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?)

    • @9934557886
      @9934557886 Před 4 lety

      did you learn how to reverse it? Please help

  • @mestrepiris
    @mestrepiris Před 5 lety

    Thanks for the tutorial. Only one doubt: Why are you using a ListView instead of a RecyclerView?

  • @hamzachohan9268
    @hamzachohan9268 Před 4 lety

    sir is there any method to use single recyclerview + cardview for different data coming from firebase

  • @ayeshaasif3183
    @ayeshaasif3183 Před 4 lety +1

    Great Series

    • @SimplifiedCoding
      @SimplifiedCoding  Před 4 lety

      Check the updated videos here:
      Firebase Database Tutorial czcams.com/play/PLk7v1Z2rk4hg3cbALQuTQOTgpZ9e9T8bi.html

  • @jakep6942
    @jakep6942 Před 4 lety

    good video, a question i have: why use an array adapter? what is the purpose

  • @JS89195
    @JS89195 Před 6 lety

    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?

  • @mohamedazizseyah5161
    @mohamedazizseyah5161 Před 3 lety

    thank you bro

  • @mdparvejansari8251
    @mdparvejansari8251 Před 7 lety

    very usefull tutorial bro

  • @anujsharma6758
    @anujsharma6758 Před 5 lety

    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

  • @shobhanmandal7797
    @shobhanmandal7797 Před 6 lety

    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

  • @fahadtahir6
    @fahadtahir6 Před 5 lety

    Hi Dear, Please let me know how to set data of only current user using the Model used in application. Thanks

  • @gtl4689
    @gtl4689 Před 6 lety

    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.

  • @mervinlee450
    @mervinlee450 Před 3 lety

    Another good tutorial but how can you make the spinner scroll smoothly?

  • @hubertmikulowskinjuacha1419

    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.

  • @dexterfury538
    @dexterfury538 Před 7 lety

    Thanks so much can you please do a device to device firebase notification?

  • @imtihanabuamin5954
    @imtihanabuamin5954 Před 7 lety

    Great tutorial, thank you so much. May Allah always bless you!

  • @imtihanabuamin5954
    @imtihanabuamin5954 Před 7 lety

    Oh ya we are waiting for the next tutorial

  • @mortezamory7506
    @mortezamory7506 Před 7 lety

    very good.

  • @waleedali6247
    @waleedali6247 Před 6 lety

    good work .

  • @MsPaulisa
    @MsPaulisa Před 5 lety

    very helpful

  • @dhruvgarg1137
    @dhruvgarg1137 Před 4 lety

    how can i add a button in every list_layout of list view....in order to transfer to a different activity using intent

  • @dashanjotsingh1157
    @dashanjotsingh1157 Před 6 lety

    nice tutorials

  • @basilbenedictvictor2053
    @basilbenedictvictor2053 Před 6 lety +1

    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.

    • @SimplifiedCoding
      @SimplifiedCoding  Před 6 lety +1

      I will post a tutorial for this.. you can send the notification easily from device to device

  • @abednegonganga4927
    @abednegonganga4927 Před 5 lety

    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.

  • @abhishekaryan7575
    @abhishekaryan7575 Před 5 lety

    nice tutorial sir

  • @thefilipinakhaleesi8768

    Sir? How to sort the artist? The newly added artist should be at the top? How can I do it?

  • @FilmyManDay
    @FilmyManDay Před 6 lety

    Sir, How can we use custom array adaptor for list view in Fragment.?

  • @archanawhatkar9376
    @archanawhatkar9376 Před 6 lety

    your videos are very helpful, can you pls make videos on react native with firebase?

  • @krushnarathod7589
    @krushnarathod7589 Před 7 lety

    Thanks

  • @gsRagexlive
    @gsRagexlive Před 6 lety

    how to display data from database in a separate activity ,in textviwes not in arraylist, please help

  • @fosteracheampong7643
    @fosteracheampong7643 Před 6 lety

    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

  • @luisguilhermerodrigues6858

    Hello, how can I do the same, but with cam capture ?
    thanks

  • @henzeehenz6558
    @henzeehenz6558 Před 5 lety

    THANKS SIR, GOD BLESS YOU ALWAYS O:)

  • @prasadpatil8116
    @prasadpatil8116 Před 6 lety

    Nice..👌

  • @mythiliinbalagan738
    @mythiliinbalagan738 Před 4 lety

    Sir, how can i display the artists in a new page and not below the place where im gettg the data?

  • @heavysoccer7862
    @heavysoccer7862 Před 5 lety

    what need to change if I want to show the data to a logged user or specific user. Please help

  • @JoelMathewmatgoogle
    @JoelMathewmatgoogle Před 6 lety

    Can we implement search for this particular project? If so how to?

  • @randomguy8000
    @randomguy8000 Před 6 lety

    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.

  • @rexyou7188
    @rexyou7188 Před 6 lety

    Hi sir, Do you have solution for prevent user enter same artist name to the database?

  • @revanthsrinivasan8751
    @revanthsrinivasan8751 Před 5 lety +1

    (anonymous com.google.firebase.database.ValueEventListener,
    List)
    im getting such kind of error when i pass the arraylist to the adapter

  • @istikharaliofficial
    @istikharaliofficial Před 6 lety

    Sir u have video related to list of things with add to cart using firebase ...kindly answer this thanks

  • @nooneknows67812
    @nooneknows67812 Před 6 lety

    what to do if i want the data from two tables in my feeds so the same could happen

  • @lowshuncheong2378
    @lowshuncheong2378 Před 7 lety

    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

  • @jiayingchua4650
    @jiayingchua4650 Před 2 lety

    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?

  • @darshanhn6858
    @darshanhn6858 Před 3 lety

    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?

  • @sherlockshoukath7058
    @sherlockshoukath7058 Před 6 lety

    can retrieve data to list view which is added at another layout

  • @rajkadam1872
    @rajkadam1872 Před 6 lety

    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

  • @mariammehdi5812
    @mariammehdi5812 Před 5 lety

    How can I retrieve any particular stored data OnMarkerClick method? Please help. Thanks!

  • @mugheesraza8413
    @mugheesraza8413 Před 6 lety

    You just saved my ass you are awesome :D

  • @jokondioha4939
    @jokondioha4939 Před 7 lety

    @SimplifiedCoding, This is just what I've been looking for. Thanks. Can you do a tutorial on firebase admob? Thanks again.

    • @SimplifiedCoding
      @SimplifiedCoding  Před 7 lety

      Yes sure.. we will try to post it ASAP

    • @josephjoey3904
      @josephjoey3904 Před 7 lety

      Okay, include native ads to match the look and feel of the app, like say an ad in a cardview list. Thanks

  • @ethannesbitt
    @ethannesbitt Před 6 lety

    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.

  • @vishalkumarsonawane6772

    What can I do for save dada of different authencated email yousers

  • @mohammeda7093
    @mohammeda7093 Před 4 lety

    Sir! While retrieving data given child is not present in firebase means how should we diplay that database is empty add the data ??

  • @anujupadhyay3091
    @anujupadhyay3091 Před 5 lety

    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

  • @MsPrakashs
    @MsPrakashs Před 7 lety

    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.!

  • @MarkoKarajlovic
    @MarkoKarajlovic Před 6 lety

    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?

  • @augalleryadmin2327
    @augalleryadmin2327 Před 6 lety

    i am getting error when ArtistList adapter = new ArtistList(MainActivity.this , artistList);
    ...please help! er
    error "this is not an enclosing class
    "

  • @charislamprou1355
    @charislamprou1355 Před 6 lety

    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...

  • @shehryarjaved7629
    @shehryarjaved7629 Před 5 lety

    can we retrive the data into spinner instead of listview ?

  • @sandipdigambarnarwade284
    @sandipdigambarnarwade284 Před 7 lety +1

    good

  • @xonontechnologies4063
    @xonontechnologies4063 Před 7 lety

    how to retrive specific data like specific singer name or specific genere?

  • @prasadjadhav8660
    @prasadjadhav8660 Před 5 lety

    can the firebase data saved through form saved in excel file?

  • @datacleaningchallenge2029

    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

  • @shanonrenick4476
    @shanonrenick4476 Před 6 lety

    Was able to implement it properly. But the app crashes if the list it too big. Any suggestions to make it scrollable?

  • @fidelflorescaceres1389
    @fidelflorescaceres1389 Před 5 lety +1

    What if you want to list your artists on a different screen? Not on the same screen you're adding artists?

  • @Xphoenix7X
    @Xphoenix7X Před 7 lety

    I love you genius indian man!

  • @laxy1070
    @laxy1070 Před 6 lety

    if i want retrieve data from another activity then what should i do??not in main activity

  • @sagarmodi727
    @sagarmodi727 Před 6 lety

    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.