Ejemplo n.º 1
0
        private void RemoveDeckButton_Clicked(object sender, EventArgs e)
        {
            var item =
                (sender as Button).BindingContext as DeckListViewModelItem;

            viewModel.RemoveDeck(item);
        }
Ejemplo n.º 2
0
        private async Task RemoveMediaAndView(long deckId)
        {
            await collection.Media.RemoveDeckMediaFolderAsync(deckId);

            await deckListViewModel.RemoveDeck(deckId);
        }