Mario Adam
04/27/2023, 12:06 PMandroidx.room:room-ktx:2.5.1
and androidx.room:room-compiler:2.5.1
along with ksp
I have declared a dao with
@Dao
interface IDepotDao {
@Insert(onConflict = OnConflictStrategy.IGNORE)
suspend fun insert(depot: Depot)
@Query("DELETE FROM depots")
suspend fun deleteAll()
@Transaction
suspend fun rebuild(entities: List<Depot>) {
deleteAll()
entities.forEach {
insert(it)
}
}
}
When building the module, a build error is thrown stating that some IDepotDao.DefaultImpls
symbol was not found. Building works, when I remove that method.
Someone has an idea on what I might be doing wrong?yigit
05/05/2023, 4:11 AM