Тёмный

Kotlin Flow + Room Database 

The Android Factory
Подписаться 7 тыс.
Просмотров 7 тыс.
50% 1

This episode introduces Androidx Flow in Kotlin using the Room database. Flow allows us to receive updates via LiveData when the database is updated. This real-time updating allows us to create a reactive UI and enhance the application's feel and professionalism.
Flow documentation: developer.andr...

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

 

23 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@VenewebTV
@VenewebTV Год назад
Hi Dom, another day another video, regards from Caracas, Venezuela
@TheAndroidFactory
@TheAndroidFactory Год назад
💯
@bekjanomirzak224
@bekjanomirzak224 2 года назад
Thank you, you saved my day.
@TheAndroidFactory
@TheAndroidFactory 2 года назад
Happy to help! What helped the most?
@diegoramms
@diegoramms Год назад
But if we use live data Instead of flow in the DAO it is going to work similar , also it is going to update the data
@gurkanucar
@gurkanucar 2 года назад
Can you share the code please? I have some errors. Where is the "sharedViewModel" ?
@TheAndroidFactory
@TheAndroidFactory 2 года назад
SharedViewModel is likely the VM attached to the Activity. I think the code is available on my GitHub page - should be a link to it in the description of the video or the playlist!
@OscarJaraJr
@OscarJaraJr 2 года назад
Great Tutorial!
@TheAndroidFactory
@TheAndroidFactory 2 года назад
Thank you!! Plenty more content on the channel too 🙂
Далее
Providing a better UX
15:57
Просмотров 407
The joker favorite#joker  #shorts
00:15
Просмотров 14 млн
#3 How to use Flow with Room Database (Complete Guide)
43:22
Kotlin Coroutines 101 - Android Conference Talks
24:49
Просмотров 135 тыс.
Kotlin Flows in a Nutshell
13:59
Просмотров 58 тыс.
Make Your Code Clean With the SOLID Principles
18:24
Просмотров 99 тыс.
Kotlin Flows in practice
21:06
Просмотров 160 тыс.
Room Database - Repositories and ViewModels
14:07
Просмотров 3,8 тыс.