protected override void OnAppearing() { base.OnAppearing(); if (_noteIndex != -1) { BindingContext = NoteManager.Instance.MyNotes[_noteIndex]; } else { BindingContext = new MyNote(); } }
public MyNote(MyNote copy) { this.NoteTitle = copy.NoteTitle; this.NoteText = copy.NoteText; this.TimeStamp = copy.TimeStamp; }