android/codelab-android-room-with-a-view

suspend keyword in DAO class cause compiler errors

lukinn98 opened this issue · 1 comments

During my first app build, several complier errors were displayed.
-> Solution was: removing the "suspend" keyword before the insert and deleteAll method.

Maybe this is not the best practice and maybe there will be a better solution, but I think it's good enough for beginners like me.

I had the same problem. Removing 'suspend' the app worked!