How to handle database call errors using Flows

前端 未结 0 1736
[愿得一人]
[愿得一人] 2021-02-14 08:24

Usually I\'m returning from my dao suspend function:

@Dao
interface DataDao {
    @Query("SELECT * FROM data")
    fun getAllData(): List
}
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题