Ejemplo n.º 1
0
        private async void LoadSettings()
        {
            try
            {
                url = await _settingsService.LoadSettings(SettingsEnum.MemeUrl.ToString());

                var limitString = await _settingsService.LoadSettings(SettingsEnum.MemeLimit.ToString());

                countLimit = Convert.ToInt32(limitString);

                OnAddMemeCommand.RaiseCanExecuteChanged();
                OnDeleteMemeCommand.RaiseCanExecuteChanged();
            }
            catch { }
        }
Ejemplo n.º 2
0
 private void ImageCollection_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
 {
     OnAddMemeCommand.RaiseCanExecuteChanged();
     OnDeleteMemeCommand.RaiseCanExecuteChanged();
 }