Firebase Firestore - Android Studio - 02[Show Data]

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ต.ค. 2024
  • In this part we will do the followings:
    ✓Create new activity
    ✓Add button in MainActivity to go to list activity
    ✓Show saved data(from Cloud Firestore) in RecyclerView
    ✓Handle RecyclerView item clicks
    Buy Me a Coffee:
    paypal.me/atif...
    Purchase Code:
    www.technifyso...
    Playlist: • Firebase Firestore - C...
    Chanel:
    / mohammadatif1
    Websites:
    technifysoft.com/
    devofandroid.b...
    Apps/Games on PlayStore:
    play.google.co...
    If u like this video, Like, Comment, Subscribe to support us...
    #CloudFirestore #Firebase #AndroidStudio

ความคิดเห็น • 44

  • @samuelatedla
    @samuelatedla 5 ปีที่แล้ว +4

    This is the better tutorial for firebase firestore. the entire playlist is comprhensive and clear. thank you

  • @md.abubakarsiddik8922
    @md.abubakarsiddik8922 3 ปีที่แล้ว

    You are using String data. if I am use double type data than how can I retrieve double data from firestore ?

  • @alucard7035
    @alucard7035 4 ปีที่แล้ว +1

    E/RecyclerView: No adapter attached; skipping layout
    i have this eurror ? can you tell how can i fix it ?

  • @005mairasultana6
    @005mairasultana6 3 ปีที่แล้ว

    i have error on 24:14 where is this add function came from?if someone know please do tell and no data is displayed

  • @primrosea
    @primrosea 5 ปีที่แล้ว +1

    hi, I got an error when I tried to run
    java.lang.NullPointerException: Attempt to read from field 'android.view.View android.support.v7.widget.RecyclerView$ViewHolder.itemView' on a null object reference
    I am succeeded when create data but failed when I tried to show data, I did change it to accommodate more fields and not just 2 like in the example, is it because of that?

    • @sarasrifii
      @sarasrifii 10 หลายเดือนก่อน

      i have the same issue - did u find a solution? hh

  • @muhammadkawish839
    @muhammadkawish839 3 ปีที่แล้ว +1

    can you please help me that my new inserted data cannot shown on the recycler view

    • @AtifSayings
      @AtifSayings  3 ปีที่แล้ว

      Try to check spellings, debug if you're receiving data or not

  • @neelshah6380
    @neelshah6380 4 ปีที่แล้ว

    Hey Atif, Can you tell me how to clear recyclerView Data? Like if i want to search again so first i want to show to that first output is clear and after clicking on buttton again it will show new data.

  • @wanaiman6737
    @wanaiman6737 4 ปีที่แล้ว +1

    Failed to resolve: androidx.appcompat:recyclerview:1.2.0 pls can you help me how to solve this porblem

    • @AtifSayings
      @AtifSayings  4 ปีที่แล้ว +1

      for AndroidX
      implementation "androidx.recyclerview:recyclerview:1.1.0"

    • @wanaiman6737
      @wanaiman6737 3 ปีที่แล้ว

      @@AtifSayings ok thx !

    • @wanaiman6737
      @wanaiman6737 3 ปีที่แล้ว

      @@AtifSayings ok thx !

  • @din3281
    @din3281 4 ปีที่แล้ว

    nice tutorial man really helpful, anyway for me to get the ID from firebase auth and not random?

  • @hrishikeshpator3853
    @hrishikeshpator3853 4 ปีที่แล้ว +1

    Throwing error on making toast on onitemclick... please help me resolve the error

    • @AtifSayings
      @AtifSayings  4 ปีที่แล้ว +1

      Kindly check logcat/run tab to discover crash reason

    • @hrishikeshpator3853
      @hrishikeshpator3853 4 ปีที่แล้ว +1

      @@AtifSayings I'd love to see/learn about sorting data after that

    • @AtifSayings
      @AtifSayings  4 ปีที่แล้ว +1

      Its easy to sort arraylist of type model, you can easily find code

  • @leondyvoerman6247
    @leondyvoerman6247 5 ปีที่แล้ว +1

    what is the content of generatedJava?

    • @AtifSayings
      @AtifSayings  5 ปีที่แล้ว

      stackoverflow.com/questions/52548924/android-studio-3-2-generated-java

  • @kambuku__3670
    @kambuku__3670 5 ปีที่แล้ว

    thanks but how can data be added on top only

  • @antnbaranov
    @antnbaranov 3 ปีที่แล้ว

    does not display data

  • @ferhatiltas8633
    @ferhatiltas8633 4 ปีที่แล้ว

    Data does not appear

  • @timelessgoacexx7033
    @timelessgoacexx7033 5 ปีที่แล้ว

    Thanks you Atif, I have learnt a lot from you. You have the best android-firebase tutorial.
    I have questions
    Am using android V7 28.0.0
    My realtime firebases version is 16.0.0:15.0.0
    And it shows error finding 15.0.0
    Secondly,
    FirebaseRecyclerAdapter is unable to resolve ,and I have tried RecyclerOption and it's not working to.
    How can I retrieve data from my Firebase?
    Thanks

    • @AtifSayings
      @AtifSayings  5 ปีที่แล้ว

      You're welcome :)
      Use version 16.0.0
      there is no FirebaseRecyclerAdapter in this series

  • @tamasevics
    @tamasevics 3 ปีที่แล้ว +1

    You are a legend.

  • @puteriayu8157
    @puteriayu8157 2 ปีที่แล้ว

    i got no error but my emulator cannot display the screen

  • @versaticon
    @versaticon 3 ปีที่แล้ว +1

    Great! Thanks a lot!

  • @qiqimains
    @qiqimains 3 ปีที่แล้ว +1

    Thanks you!

  • @alexandrawigo9575
    @alexandrawigo9575 5 ปีที่แล้ว +1

    please make a tutorial about using recycler view using firebase firestore

    • @AtifSayings
      @AtifSayings  5 ปีที่แล้ว

      this is same as you are asking

  • @RaulSC9
    @RaulSC9 5 ปีที่แล้ว +1

    Good, on another occasion, I followed another tutorial to work with Firestore, but in the adapters, they used "FirestoreRecyclerAdapter"
    I think it makes the work easier. You could give your opinion on this. A greeting!

    • @AtifSayings
      @AtifSayings  5 ปีที่แล้ว

      yeah sure you can use it

  • @justtajinder
    @justtajinder 5 ปีที่แล้ว

    no audio does not understand anything

  • @franciscoluna1915
    @franciscoluna1915 5 ปีที่แล้ว +1

    se detiene la aplicacion :(

    • @PRIMITIVE2050
      @PRIMITIVE2050 5 ปีที่แล้ว

      Por si lograse hacer funcionar la app y se duplican los datos cada vez que cargas la vista agrega modelList.clear(); en la funcion que trae los datos

  • @badcookie2975
    @badcookie2975 5 ปีที่แล้ว +1

    it worked thanks!

  • @najwa4289
    @najwa4289 5 ปีที่แล้ว +1

    Thanks

  • @sgur34
    @sgur34 5 ปีที่แล้ว

    Спасибо ОООООЧЕНЬ помог