-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
Process: com.kelvsricafort101.wordpress.inventory, PID: 12237
java.lang.IllegalStateException: The query result was empty, but expected a single row to return a NON-NULL object of type <com.kelvsricafort101.wordpress.inventory.data
.Item>.
pls change this from
@query("SELECT * FROM items WHERE id = :id")
fun getItem(id: Int): Flow
to
@query("SELECT * FROM items WHERE id = :id")
fun getItem(id: Int): Flow<Item?>
problem solved
huojieren
Metadata
Metadata
Assignees
Labels
No labels