private async Task RefreshCommandAction() { _loadedConfigs = _configurationViewModel.LoadUserCustomConfigurationApp(); FillUserPosts_old(); IsBusy = false; }
public AccountViewModel() { _apiResponse = new ApiResponse <Account>(); _accountClient = new AccountClient(); _mediaProvider = new MediaProvider(); _appCustomConfigurationViewModel = DependencyService.Get <AppCustomConfigurationViewModel>(); _loadedConfigs = _appCustomConfigurationViewModel.LoadUserCustomConfigurationApp(); TakePictureCommand = new Command <Account>(async(accountParms) => await TakePictureAction()); LoadPictureCommand = new Command <Account>(async(accountParms) => await LoadPictureAction()); SaveCommand = new Command <Account>(async(accountParms) => await SaveAction()); LoadAccount(); }