コード例 #1
0
 public void SetService(INotesService notesService)
 {
     NotesService   = notesService;
     CreateNotePage = new CreateNotePage(NotesService);
     UpdateNotePage = new UpdateNotePage(NotesService);
     OnAppearing();
 }
コード例 #2
0
 private async void OnUpdate(object sender, EventArgs e)
 {
     UpdateNotePage.SetNoteModel((NoteModel)NotesList.SelectedItem);
     await Navigation.PushAsync(UpdateNotePage, true);
 }