Тёмный

Firestore | Reading documents 

Mafia Codes
Подписаться 44 тыс.
Просмотров 11 тыс.
50% 1

In this video you will learn how to read documents from #firebase #firestore database.
We’ll be also making queries to our database.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
Completed Notes App: github.com/tru...
Firebase Console: console.fireba...
Add Firebase to Project: firebase.googl...
Firebase UI: github.com/fir...
Dependencies:
Firebase Authentication: firebase.googl...
Firebase Firestore: firebase.googl...
FirebaseUI: github.com/fir...
Cloud Storage: firebase.googl...
#yoursTruly #FirebaseSDK #tutorial #android
---------------
More useful videos
---------------
RecyclerView: • Recycler View with com...
ViewModel: • View Model | Live Data...
NavigationComponent: • Navigation Component |...
WorkManager: • Work Manager | Android...
Retrofit: • RETROFIT Tutorial (v 2...
CollapsingToolbar Layout: • Collapsing Toolbar Lay...
BottomNavigation View: • Bottom Navigation View...
KeyframeAnimations: • Keyframe Animations wi...
NightMode: • Night Mode | Dark Mode...
ButterKnife: • Butter Knife | Field a...
SplashScreen: • Splash screen | Launch...
Singletons: • Singletons | What When...
Pull to Refresh in RecyclerView: • Pull to Refresh in Rec...
On item click using Interface in RecyclerView: • RecyclerView item Clic...
Swipe gestures in Recycler View: • Swipe gestures in Recy...
Drag and drop Reorder in Recycler View: • Drag and drop Reorder ...
Filter using SearchView in RecyclerView: • Filter RecyclerView us...
MultiView RecyclerView: • Multi view RecyclerVie...
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTRULY #tutorial #howto #android

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@amit1k617
@amit1k617 Год назад
Thank you very much!! everything I wanted to do was there, and you explained it so clearly!
@sharyerilyas898
@sharyerilyas898 3 года назад
Very good Video .thats all i want.😊😊😊😊😊
@paragbharadia2895
@paragbharadia2895 2 года назад
very very valuable video! thank you sir!
@gurubhai4918
@gurubhai4918 Год назад
I want to cater to multiple restaurant clients, should i crea one firestore database with one top level collection for each client or should I create one firestore database for each client? each restaurant admin/owner should see their unique dashboard when they login to the Android app
@sat_talk
@sat_talk 3 года назад
Thanks sir.. what would be the code when we want to show some textview for admin only and for all other users no textview appear?.. I don't the firebase command..but know the logic.. means if ( currently logged user is not equal to admin user ) { hide the textview} else { show textview} Pl. sir what would be firebase command? for above logic?
@amruthachennepalli
@amruthachennepalli 2 года назад
Can you make video on how create get req to read firestore collection please
@MrRahulmalik
@MrRahulmalik 5 лет назад
Make a video on creating Users collection and storing the UID and check if the user is a premium member or not in real time database Cheers 🍻
@mafiacodes
@mafiacodes 5 лет назад
I’ll do it sometime later
@bunhengborath7698
@bunhengborath7698 3 года назад
nice bro keep it up
@bhupeshpattanaik7150
@bhupeshpattanaik7150 3 года назад
How to copy the received data to local variable , as the function is asynchronous and return future string but my local variable is of type string 🤷🏻‍♂️🤔
@mafiacodes
@mafiacodes 3 года назад
u have to copy that inside the async function
@bhupeshpattanaik7150
@bhupeshpattanaik7150 3 года назад
@@mafiacodes for example: String x; Void a() async { x = 'hello'; } a(); Print ( x ) ; This says x is null and does not assigned it ,
@mafiacodes
@mafiacodes 3 года назад
Yes that’s true, you need to use a listener
@bhupeshpattanaik7150
@bhupeshpattanaik7150 3 года назад
@@mafiacodes ohk 😀 , thanks
@yashsingadiya9850
@yashsingadiya9850 2 года назад
Perfect video for fetching data from database in the entire RU-vid You are great at explaining and going into the depth in your subject I am so glad to finally complete this topic i was searching to get only one field Only you showed how to do it Thanks bro
@akashpatil4613
@akashpatil4613 3 года назад
Bro how can we get the total no of the document in the collection.
@mafiacodes
@mafiacodes 3 года назад
this link would do justice instead of me simply telling you how to count the size... stackoverflow.com/questions/46554091/cloud-firestore-collection-count
@akashpatil4613
@akashpatil4613 3 года назад
@@mafiacodes Thanks for replying.. Although I already that code tried that but it is showing an error on the "then" keyboard. And I wanted to show that on my XML.
@satyampal5299
@satyampal5299 4 года назад
hey can u help me with something?
@mafiacodes
@mafiacodes 4 года назад
Yeah sure like what?
@satyampal5299
@satyampal5299 4 года назад
@@mafiacodes i have been trying to retrieve document ids from a collection but couldn't store it in any array list can u help me with that? I have retrieved and loged document ids but whenever i try to store it in an array list it never gets added.
@mafiacodes
@mafiacodes 4 года назад
Loop through the snapshots nd store
@satyampal5299
@satyampal5299 4 года назад
@@mafiacodes yes i tried the same thing but it didn't work .
@satyampal5299
@satyampal5299 4 года назад
@@mafiacodes i try to pass the list array to the list view adaptor and it never shows anything on the list view
@CortezMK
@CortezMK 3 года назад
how do i get the document id's
@mafiacodes
@mafiacodes 3 года назад
doc.id
Далее
Firestore | Sorting and Limiting documents
8:31
Просмотров 9 тыс.
Firebase Firestore | Security Rules
23:14
Просмотров 17 тыс.
Barno
00:22
Просмотров 341 тыс.
The Home Server I've Been Wanting
18:14
Просмотров 64 тыс.
Firestore | Updating a document | UPDATE and SET
16:30
Firebase Storage | User profile image
13:46
Просмотров 26 тыс.
Advanced offline caching techniques in Cloud Firestore
12:34
Firebase - Back to the Basics
25:23
Просмотров 591 тыс.