Tushar
10/17/2024, 12:31 PMsuspend fun getNote(id: Int): Note{
Log.d("NotesRepository", "Note id: ${noteDao.getNoteById(id)}")
return noteDao.getNoteById(id)
}
this is the function from repository, dao is a part of room
the issue i am facing is the function returns null even though it's non nullable how it can return null ?