Saving Data on Android



Download 19,28 Mb.
Pdf ko'rish
bet228/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   224   225   226   227   228   229   230   231   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

Other features
Transac/ons
Realtime Database also allows you to write data to the database using a transaction. 
A database transaction is a unit of work that is independently executed and it must 
be atomic, consistent, isolated and durable. If the 
WhatsUp
 app had a feature to 
allow you to "like" a post you could use transactions to keep track how many 
likes
 a 
given post had. Since there is a use case where multiple users could "like" the post at 
the same time, the transaction would allow you to always have fresh and correct data 
about 
likes
.
Check the official documentation  
https://firebase.google.com/docs/database/
android/read-and-write#save_data_as_transactions
  to see how to work with 
transactions.

Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   224   225   226   227   228   229   230   231   ...   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