https://kotlinlang.org logo
Title
u

user

06/21/2022, 12:11 PM
Room "Not sure how to convert a Cursor to this method's return type" I'm new to android development and I'm working on a project called " water drink reminder " . this is my Dao and database codes. i'm getting "Room "Not sure how to convert a Cursor to this method's return type" error every time I run the app. so I searched about this and what I gained was " don't use LiveData with suspend keyword". I didn't use these two together but I still get this error. anyone can help? @Dao interface Dao { @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun...