android5-5 Exercise 3: Delete, screen to DAO ========================================= Files changed (the flow of the change): 1. NotesScreen: add onDeleteNote: (Note) -> Unit and a button that calls it. 2. NotesRoute: pass viewModel::deleteNote. 3. NotesViewModel: deleteNote(note) launches repository.deleteNote(note) (already in the chapter's code). 4. NotesRepository and DefaultNotesRepository: deleteNote (already in the chapter's code). 5. NoteDao: @Delete suspend fun delete(note: NoteEntity) (already from Chapter 4). A file that should NOT have changed: NoteEntity, AppDatabase and the mapping stay as they are. If you had to edit NoteDao or the entity to make the screen work, a layer boundary has leaked. (General knowledge; the boundary rule is from the docs.) Code unrun.