Room suspend function with Livedata not working. Conversion error is occurred while compiling. Room version is 2.1.0. PS: I resolved this error by removing the suspend keyword. Any other ways to resolve this error.
m
Mark Murphy
08/03/2019, 7:31 PM
If you are returning
LiveData
from an
@Query
-annotated function, you do not need the function to be marked with