07-20-2023, 03:49 PM
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<Long>` 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.`
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.`