#15. How to Retrieve Firestore data to Recyclerview in Android Studio using Kotlin

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • As'salam o Alaikum!
    In this video we will learn how to fetch data in recyclerview from firebase firestore using kotlin
    how to implement recyclerview in android studio
    Useful gadgets for Video Shooting:
    Webcam: amzn.to/40s2kmx
    Rode Mic(with wire): amzn.to/3JXNAEJ
    Rode Mic(Wire-less): amzn.to/3ZI5Qbn
    Canon EOS M50 Mark II Camera: amzn.to/40vrmRG
    Microphone: amzn.to/3G1WPCK
    Sound Panels: amzn.to/42SfhaD
    Soft box lighting: amzn.to/3Kg0BuN
    Tripod: amzn.to/3G2ry2C
    RGD light: amzn.to/3ntQUQy
    Height Adjustable table: amzn.to/3JU5Df3
    If you find this video helpful, please like, share and subscribe to my channel, your support will be highly appreciated.
    Thanks.

КОМЕНТАРІ • 35

  • @qawali_night
    @qawali_night Рік тому

    very good one bht acha explain kiya

  • @manlikecapitan
    @manlikecapitan Рік тому

    Thank you so much for this video, the steps worked well and I got no errors. Keep up the good work!

  • @GIULI4994
    @GIULI4994 Рік тому

    clear and concise! thank you

  • @PacoEsquivelF
    @PacoEsquivelF Рік тому

    Thanks so much from Mexico

  • @gelsonsouza5526
    @gelsonsouza5526 Рік тому

    Thank you so much. This video helped me a lot.

  • @2-01Actual
    @2-01Actual 6 місяців тому

    I followed this properly but when i run the app, the text on the recyclerViews are not showing. How do i fixt that??

  • @foundertanmay
    @foundertanmay 2 роки тому

    bro plz reply its urgent, first of all nice video easy explanation, secondly agar mujhe ismae condition lagani hai ki sirf ek particular phn num ke data ko dikhaye toa kaise lagau plz tell?

    • @waseemshakoorandroid
      @waseemshakoorandroid  2 роки тому +1

      You can use query for that(google it"how to fetch specific data from firestore"), or you can set a condition before adding data to the list, if(phoneNo == "specific phoneNo").

  • @irfanboy3374
    @irfanboy3374 Рік тому

    assalamualaikum bro , please why my card view showing but not the data class for textview, do you have source please?

    • @waseemshakoorandroid
      @waseemshakoorandroid  Рік тому

      w/s, specify textColor for your textView e.g. black or something else... Reach out to my instagram if u still need source code

  • @JairitoMLG
    @JairitoMLG 2 роки тому

    How i do to add a new user and update the recycler view with the new information? Thanks

    • @waseemshakoorandroid
      @waseemshakoorandroid  2 роки тому

      You should use realtime database for realtime changes(video is uploaded), or you should call nofifyDataSetChanged() on adapter after adding data.

  • @racoon_yt
    @racoon_yt Рік тому

    I'm getting a red underline at line 39 (userList)

    • @waseemshakoorandroid
      @waseemshakoorandroid  Рік тому

      Place your cursor on it and It'll tell you the reason. Probably there will be some type casting issue.

    • @racoon_yt
      @racoon_yt Рік тому

      @@waseemshakoorandroid it tells me no parameter value is passed and also says to create function MyAdapter

    • @waseemshakoorandroid
      @waseemshakoorandroid  Рік тому

      You didn't followed the tutorial properly. MyAdapter will be your adapter class for recyclerview.

    • @racoon_yt
      @racoon_yt Рік тому

      @@waseemshakoorandroid so I restarted the whole process and this time the error eent away, but now when I try to retrieve data from my database only the cards are displayed without the actual information

  • @raynaldirepi4407
    @raynaldirepi4407 Рік тому

    Hi sir .. i follow this code and got no error in android studio. But when i run the app on my phone its show permission denied then i edit the rule from firebase and now it crash ~_~ pls help

  • @marvelous812
    @marvelous812 5 місяців тому

    DOWNLOAD THE VIDEO AND FOLOW THE TUTORIAL, IF IT'S NOT WORK THEY DONT GET THE VIWERS

  • @marvelous812
    @marvelous812 5 місяців тому

    IF IM NOT MISTAKE, THIS CODE NOT WORKING

  • @terlanabaszade9221
    @terlanabaszade9221 2 роки тому

    Hello Sir. How i can pass data to another activity from firestore recyclerview?

    • @waseemshakoorandroid
      @waseemshakoorandroid  2 роки тому +1

      val intent = Intent(this, nextActivity::class.java)
      use intent.putExtra("key", data) to send data to another activity.
      After that start Activity like this... context.startActivity(intent)

    • @terlanabaszade9221
      @terlanabaszade9221 2 роки тому

      Thanks a lot. @@waseemshakoorandroid

  • @vloggerme
    @vloggerme Рік тому

    Ek hi list item ban raha hai,, jab ki log cat me dono data aaraha hai

    • @waseemshakoorandroid
      @waseemshakoorandroid  Рік тому

      single item row jo ap ne design ki hai, us ki height wrap_content rakhni hai. match_parent ni.

    • @vloggerme
      @vloggerme Рік тому

      @@waseemshakoorandroid esa hi kiya hai

  • @abdallahomaralsarrawi7983
    @abdallahomaralsarrawi7983 2 роки тому

    please give me source code