<Can't update database> Hi! I am using Android Stu...
# forum
r
Can't update database Hi! I am using Android Studio with Jetpack Compose. I am making a notes app and reading the database works but when I try to update the database and so edit the note it doesn’t work and I don’t know why so can you help? I am sharing snippets. fun updateData(indexInt?,newNoteTitleString?,newNoteContent: String?){ val db=this.writableDatabase val values=ContentValues() values.put(NOTE_TITLE_COL,newNoteTitle) values.put(NOTE_CONTENT_COL,newNoteContent)...