示例#1
0
        private async void OnRemoveCommand(object obj)
        {
            bool ans = await _userDialogs.ConfirmAsync("Remove the selected item?");

            if (!ans)
            {
                return;
            }
            await _appSettingsManager.RemoveDeviceAsync(_deviceModel);

            await _navigationService.GoBackAsync();
        }