<Room DAO keeps returning NULL> In room, I have a ...
# stackoverflow
r
Room DAO keeps returning NULL In room, I have a dao to something like this: @Dao interface FacultyDao { @Query("select * from faculty") fun getAll(): LiveData ... } And inside the repository, I'm simply calling this method and logging it: class FacultyRepository(application: Application) { private val facultyDao: FacultyDao init { val db: AppDB = AppDB.getInstance(application) facultyDao = db.facultyDao() } fun getAllFaculty(): LiveData { val v =...