1 min readMay 10, 2018
Does live data work with count also?
@Query(“SELECT COUNT(*) FROM documents”)
fun loadLiveCount(): LiveData<Int>
Does live data work with count also?
@Query(“SELECT COUNT(*) FROM documents”)
fun loadLiveCount(): LiveData<Int>
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app