/// <summary> /// Triggeres the removing of all stored feeds. /// </summary> async void RemoveAllFeedsAsync() { // Confirm user's choice. var confirmed = await MaterialDialog.Instance.ConfirmAsync(message : "Are you sure?", title : "Confirm", confirmingText : "Delete", dismissiveText : "No"); // Cancel operation if user declined. if (confirmed == false) { return; } // Remove all feeds from storage. FeedPreferenceService.RemoveAll(); // Raise notifications that feed(s) has been updated aka. removed. MessagingCenter.Send(this, Constants.NOTIFICATION_ID_FEED_ITEM_UPDATED); // Close page after command was executed. ClosePage(); }