I have explained with code on how to use Kotlin's Coroutine to make Room Database Queries and Listen to changes and Update UI in Realtime with LiveData. This screenshot displays the changes that has occured to the database, by listening to the table using livedata. I also have to say that , Coroutine is great :-D
nickyrabit/RoomWithLiveDataAndCoroutine
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
How to use Kotlin's Coroutine to make Room Database Queries and Listen to changes and Update UI in Realtime with LiveData.
Topics
kotlin
coroutines
kotlin-language
kotlin-android
kotlin-extensions
kotlin-library
android-development
android-application
android-ui
coroutine-library
androidstudio
kotlin-coroutines
andorid-logging
coroutines-android
andorid
coroutine-framework
kotlin-native
livedata
coroutine-fastcgi
coroutine-dispatcher
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published