예제 #1
0
        private async void OnDiscardEntry()
        {
            bool result = await AlertManager.DiscardEntry();

            if (result)
            {
                await Navigation.PopAsync();
            }
        }
예제 #2
0
        private async void OnDiscardEntry()
        {
            bool result = await AlertManager.DiscardEntry();

            if (result)
            {
                NewBook.RemovedImages.Add(NewEntry.ImagePath);
                NewBook.Entries.RemoveAt(NewBook.Entries.IndexOf(NewEntry));
                await Navigation.PopAsync();
            }
        }