Room returns java.lang.Object for all my suspended Dao functions
I have a project with a Room database, which was working fine, and now for some reason I can't find out, it isn't anymore.
I am getting the following error when compiling:
C:\(...)\FlightDao.java
18 error: Not sure how to convert a Cursor to this method's return type (java.lang.Object).
public abstract java.lang.Object getFlightById(int id, @org.jetbrains.annotations.NotNull()
This is from a class that is generated from my Dao:
@Dao
interface FlightDao {
@Query("SELECT * FROM...