class NoteActivity : AppCompatActivity
<init> |
NoteActivity() |
back |
Called by back floating action button Finishes NoteActivity lifecycle fun back(view: View): Unit |
delete |
Called by delete button. Deletes note using NOTE_TIME intent extra fun delete(view: View): Unit |
edit |
Called by edit button. Starts EditNoteActivity with IS_EDIT set to true And passes all contents of the Note object fun edit(view: View): Unit |
onCreate |
Gets Note contents from intent extras And updates views according to those contents fun onCreate(savedInstanceState: Bundle?): Unit |
onRestart |
fun onRestart(): Unit |