Room Can not Update or Delete Entity
I'm learning how to use the room framework, but I can't update or delete entity in androidTest. Here is my code:
@Database(entities = [Note::class], version = 1)
@TypeConverters(com.misaka.workflow.data.local.TypeConverter::class)
abstract class SQLiteDataBase : RoomDatabase() {
abstract fun getNoteDAO(): NoteDAO
companion object {
@Volatile
private var INSTANCE: SQLiteDataBase? = null
fun getInstance (context: Context): SQLiteDataBase {
return...