コード例 #1
0
ファイル: sample.cs プロジェクト: manjubagade/newnativefundoo
        public async void DeleteNotes()
        {
            var             noteId          = Intent.GetStringExtra("noteId");
            MenuPage        m               = new MenuPage(noteId);
            NotesRepository notesRepository = new NotesRepository();

            LoginUser user1 = new LoginUser();
            var       uid   = user1.User();
            Note      note  = await notesRepository.GetNoteByKeyAsync(noteId, uid);

            m.DeleteNotes();
            Toast.MakeText(this, "deleted noted", ToastLength.Short).Show();
        }