All of sudden I start getting this error, and I am not getting idea why if anyone just let me know where this error is, will be enough helpful. As much I am able to get is t
This method occurs to me everything there is a problem with Room
database and Coroutines
, even spell mistakes. Lastly was when trying to return a single value with a Flow after inserted column, by: Flow
from DAOs classes.
It should be a suspend
function and only Long
type to return after inserted column.
These problems are ambiguous sometime, so try to read all the Build Output messages, the message that help me was: error: Not sure how to handle insert method's return type.