Saving Data on Android


Key points • Firestore allows to  read data once



Download 19,28 Mb.
Pdf ko'rish
bet277/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   273   274   275   276   277   278   279   280   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

Key points
• Firestore allows to 
read data once
 or to 
listen for data changes
 in real-time.
• To get the data once, you would need to use 
get
 method on the collection
Saving Data on Android
Chapter 18: Reading Data from Cloud Firestore
raywenderlich.com
272


reference.

ListenerRegistration
 interface represents a Firestore subscription listener.
• You can call 
addSnapshotListener()
 on a collection reference to start listening 
for data changes at a specific location.

Queries
 are used to get only a 
subset
 of the documents within a collection.
• Cloud Firestore stores a copy of data that your app is using, locally, so that you can 
access the data, if the device goes offline.
• You can also use 
orderBy()
 and 
limit()
, on the collection reference, to get only 
specific documents from a collection.

Pagination
 allows you to split your database data into 
chunks
 so that you don't 
need to fetch all your data at once.
• To ensure good performance for every query, Firestore requires an index, when 
creating them.

Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   273   274   275   276   277   278   279   280   ...   292




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish