2. Retrieve Firebase data to RecyclerView

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 69

  • @shrirambalaji2915
    @shrirambalaji2915 2 роки тому +8

    if your app is crashing, even if you followed all the steps in the video(I did and my app crashed), you need to delete all the data in firebase realtime database and put data in such a way that it exactly matches with the mainModel.
    i.e make sure that all data in the realtime database is similar to the mainModel names.
    this worked for me

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

      Thanks brother

    • @055_darshchangawala8
      @055_darshchangawala8 Рік тому +1

      please can you give the example?
      i have tried doing that in firebase but in realtime database, it is automatically sets in alphabetical order. please help me if you can

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

      @@055_darshchangawala8 The mainModel object structure should match with realtime database data...
      Try it

    • @ProwlerGPGaming
      @ProwlerGPGaming 14 днів тому

      Hey, I did it lots of time but my application crashing each time, Do you have any other solution? i did it several times.

  • @ShambhuKumar-nu3mr
    @ShambhuKumar-nu3mr 2 роки тому +2

    Thank you So Much Sir Literally I was Trying It From 10 Hours But Got Sucess After Watching Your Video!!!

  • @ELu-o8p
    @ELu-o8p 11 місяців тому

    le fait de prendre le json depuis firebase m'a sauvé
    A big thank you

  • @Shattersu
    @Shattersu 3 місяці тому +1

    why is their no display even though I write and follow the exact code?

  • @MrIMacro
    @MrIMacro 2 роки тому +2

    Amazing, could you please teach us how to implement a search view, because if the number of the items become high the user needs a search function. Thanks a lot.

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

    where is the FirebaseRecyclerView came from?! 19:42

  • @PJTech-ro7ql
    @PJTech-ro7ql 9 місяців тому

    Thank you so much, I was getting difficulties to load the image and now I can do it

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

    how to take square image instead of circular image?

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

    19:40 FirebaseRecyclerAdapter are not working

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

    What if i want to Onclick img open URL

  • @espectactorteatro4028
    @espectactorteatro4028 2 роки тому +2

    Something wrong happens. I have all the code correct, I checked it several times. It doesn't give errors, but the result is a blank screen. Can you help me?

    • @IBK_GAMINGDEN
      @IBK_GAMINGDEN 8 місяців тому

      Hi did you figure this out i am having same issue. thanks

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

    if anyone facing issues like crashing when starting the app, make sure to change the data type of the data in realtime database to string

  • @MindBoostClips-i6o
    @MindBoostClips-i6o 3 роки тому +2

    It is working. Thank for you.🙏

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

    Will be great to see such video in Kotlin+Firebase RTDB variation!

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

    I already follow all the code but ,my recycler view is not showing up.. can someone help ?

  • @isaiahoduor407
    @isaiahoduor407 3 роки тому

    Why is it that im only getting placeholder image and all fields are null

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

    I do all these steps but I don't get data in my RecyclerView anyone can help me

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

    but where is the toolbar

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

    what do you do to use same method in fragment

  • @KOBERRORYT
    @KOBERRORYT 3 роки тому

    Bro i have a doubt here you will add new documents/new users in recycling view. My question is same user we will add additional details in same file/user

  • @PhysicsChemistry7-12
    @PhysicsChemistry7-12 3 роки тому

    Hello sir! If in my model has more (name, email, image, coins,....) but i want to show name, email, image it will error not working. How to solve it?

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

    Sir it's shown index out of bound exception what to do?

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

    hello sir , I am getting error getSurl() cannot find the symbol its red , can you tell what is the problem ?
    thank you !

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

    thanks, was long time i search for it

  • @muhammadshahmirafzal9152
    @muhammadshahmirafzal9152 3 роки тому

    Sir you are the best one

  • @mahmudulhassan123
    @mahmudulhassan123 3 роки тому

    will this method not work for sub pages of the app ??

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

    sir but there is a problem,the first user id's full name and profile pic is half cutted and shows only half pic and id

  • @Gr8beast
    @Gr8beast 3 роки тому +1

    hey my that activity is crashing
    what to doo

    • @maha-bv7cg
      @maha-bv7cg 2 роки тому +1

      did you know how to solve it?

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

      @@maha-bv7cg it's was just some simple errors but in your case it may be different

  • @mosesk4626
    @mosesk4626 3 роки тому

    Hi thanks for the tutorial. Would you kindly make a series with java Android, mysql and php

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

    Thank you for tutorial.👏🏻👏🏻

  • @angelobunao2628
    @angelobunao2628 3 роки тому

    Sir can you help me in my java code in android? when i change my data on firebase my recycler view keeps repeating evrytime can you help me fix this issue?

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

    Nice video, but i really need to know how to on click img open link/ url (that is in the firebase)

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

      Se tens a imagens na storage, basta clicares no token de acesso da imagem que ele copia o URL

  • @ocity5905
    @ocity5905 3 роки тому +2

    this is a good tutorial

  • @voicesofvalinor
    @voicesofvalinor 3 роки тому

    Great video, one question. How could I make one of the texts a hyperlink?
    that when pressing takes me to amazon for example.
    Thank you.

    • @pembaonlinemedia
      @pembaonlinemedia 3 роки тому

      use normal text view, make it clickable and make it responsive to the users click, then use action view intent to open browser with a specified url

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

    Great work! thanks

  • @MrThumper001
    @MrThumper001 3 роки тому

    I cannot get the FirebaseRecycleAdapter. Can you help please?

    • @harsh.jain22
      @harsh.jain22 3 роки тому

      for that you have to add this dependency in your gradle file :
      implementation 'androidx.recyclerview:recyclerview:1.1.0'

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

    thank you soooooooooo much very helpful

  • @4dn907
    @4dn907 3 роки тому

    15:48 ( it's better to hit your keyboard with a stone )

  • @Bcs-AnidaNaeem
    @Bcs-AnidaNaeem Рік тому

    Would this vedio help if i have stored the data in database using view binding???? Anyone please?

  • @leolima8585
    @leolima8585 3 роки тому

    Assiti no meu smartphone.
    Não entendi porque a api 23 não tem LEGENDA além de inglês no you tube.
    Espero. Novas aulas com letras maiores. Parabéns pelo trabalho.

  • @Mirtguitar
    @Mirtguitar 10 місяців тому

    Good tutorial.

  • @forgettenitem
    @forgettenitem 3 роки тому

    Hi, Am getting an error the below code: .setQuery(FirebaseDatabase.getInstance().getReference().child("Students"), MainModel.class) find error message below: error: no suitable method found for setQuery(DatabaseReference,Class)
    .setQuery(FirebaseDatabase.getInstance().getReference().child("Events"), MainModel.class)
    ^
    method Builder.setQuery(Query,SnapshotParser) is not applicable
    (argument mismatch; DatabaseReference cannot be converted to Query)
    method Builder.setQuery(Query,Class) is not applicable
    (argument mismatch; DatabaseReference cannot be converted to Query)
    Kindly assist

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

    very very thank you sir!!!

  • @RajKumar-bj7ow
    @RajKumar-bj7ow 2 роки тому

    My recycler view is working fine with both emulator and usb debugging mode. But in real device without usb.. recycler view crashing. My Final hope is you. Pleas help me sir.. I am helpless

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

    Bro, I have an error in the line: recycleview.setAdapter(mainAdapter); the mainAdapter in parentheses is wrong, can anybody help me?

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

      You must have missed something.
      What video again in order to resolve the issue.

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

    Thank you sir you own a sub!

  • @manjunathmulimani6926
    @manjunathmulimani6926 3 роки тому

    Sir when coding in MainAdapter
    In onBindViewHolder we write
    holder.name.setText(model.
    That getname things are not showing please help

    • @sheerazahmad3846
      @sheerazahmad3846 3 роки тому +1

      you have to create model class having variables similar to the names of the objects in database, only then model. would work.

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

    Thanks 👍👍

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

    thank you

  • @dasun1093
    @dasun1093 3 роки тому +1

    ❤❤❤❤❤❤❤❤❤

  • @FilmyFloody
    @FilmyFloody 3 роки тому

    Ye pooja kon hai?🎃😅

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

    workes