Georgii Goncharik
06/28/2020, 10:10 PM@Query("SELECT * FROM plant_table WHERE id = :key")
fun get(key: Long): Plant?
Javier
06/28/2020, 10:26 PMaipok
06/29/2020, 5:26 AMplant.value = getPlantFromDatabase(key)
inside uiScope.launch
. In this case it will be guaranteed that your suspend function has been completed.Joost Klitsie
06/29/2020, 8:31 AM