How to retrieve data from Firebase Realtime database to a Listview. Android Studio Tutorial

preview_player
Показать описание
In this video, I am going to show you how to retrieve data from the firebase real-time database to a list view. I hope you must enjoy this tutorial because most tutorials are for beginners this is also an android studio tutorial for beginners

Donate me:
Binance Pay ID: 253333352
==============================

Follow us Links:
Whatsapp: +923233151852
================================================
Рекомендации по теме
Комментарии
Автор

Не знаю вашего языка, напишу на Русском) Самое краткое видео, и главное что по сути)) Выражаю вам уважение) Спасибо

asfkja
Автор

I have spend 4 days looking for a tutorial, that can show me how to retreive text from Firebase to my app, I have watched more than 15 tutorials, read hundred of forum pages, with no success, and yesterday I watched a 45 min tutorial and it gave me bunch of erreur, till today, I gave it a shot with your tutorial, and first try it work, thank you so much for this.

I have one question if I want to desplay only a part of the data for example in page one (Faheem), Page two (Hassan) page three ( Ali) .... etc, is that possible?

skrillexsn
Автор

easy, simple and it works! you save my live bro. may Allah bless you

muhdfikri
Автор

Your tutorials are very helpful for me. thank you

kiranmustafa
Автор

what if i want it to show me the newest one in the top . from the newest tho the previous?

ddsdgsz
Автор

Bro.. good tutorial.. just simple advice.. dont rush.. slow down and make some good tutorial

nayandas
Автор

Hi.... Could you tell please.. Sir, i want to play youtube video using Firebase database and dont want to add Video ID in code, i want to add Video ID to database and then get it from there...and play in our app. By using YouTube player View.
Please help me🙏🙏🙏🙏

kamalabaikattimani
Автор

Ok, idk why but we need to specify the link of db in this Main Activity Class, till that it won't show anything. Other code is easy to understand bcoz of u and thnx for it.


Ok and 2nd of all GO TO DB and allow READ and WRITE.

Sidex-gp
Автор

why my DatabaseReference gets red? and when i write firebasedatabase it also red?

rioaryas
Автор

if i press button to retrieve data from firebase and then press the same button again then it retrieve same thing again and again many time when button pressed, how to solve this ?

subhashkumar
Автор

when i add listview my application does't opens even if it's not on the main activity.

BIlalKhan-teii
Автор

Hey there I'm creating a chat app and I send msg to a child in firebase and I retrieve the msg of others through onDataChange in value event listener but the problem is when I retrieve msg I their particular activity page it works well but when I leave that page and moves to another person chat and comes back to his chat page Im receiving his last chat against due to the value event listener so I have done another way. It is I have deleted the msg from firebase once I have read it from firebase and put an if condition at onDataChange stating if the firebase value is not empty then perform the task inside onDataChange else not . now it works well but when I go back for twice or thrice and comes back the new msg from him is displaying twice or thrice accordingly to me pls help me.

dhakshnamoorthy
Автор

I just have blank page. It did not show the list. Please help me

ayauthor
Автор

How will I fetch list of item VALUE onClick of the list item in another activity??... please help out

yuireisingngalung
Автор

Hello. How can I show specific user information and not all of it? (For example: just user email)

amirchernin
Автор

Failed to convert value of type java.util.HashMap to String . I spent 2hours checking error.

mopiko
Автор

can we use the same code that receiving data on realtime, if arduino and firebase + android is connected
?

studyonline
Автор

Hello! How can we read from integers? I always get a null value..

mervinlee
Автор

What if I want data from specific child

Jatinvys
Автор

it didnt work with me no error in java but the app go out whe i run it

alabri