public AboutPageViewModel(ILogger logger) : base(logger) { AboutItems.AddRange(new[] { new AboutMenuItem { Name = "Created by Xamarin with <3", Command = LaunchBrowserCommand, Parameter = "http://www.xamarin.com" }, new AboutMenuItem { Name = "Open source on GitHub!", Command = LaunchBrowserCommand, Parameter = "https://github.com/doodz/AppSshForm" }, new AboutMenuItem { Name = "License GPL 3", Command = LaunchBrowserCommand, Parameter = "https://opensource.org/licenses/GPL-3.0/" } }); TechnologyItems.AddRange(new[] { new AboutMenuItem { Name = "PCL Storage", Command = LaunchBrowserCommand, Parameter = "https://github.com/dsplaisted/PCLStorage" }, new AboutMenuItem { Name = "Settings Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Settings" }, new AboutMenuItem { Name = "sqlite-net-pcl", Command = LaunchBrowserCommand, Parameter = "https://github.com/praeclarum/sqlite-net" }, new AboutMenuItem { Name = "Autofac", Command = LaunchBrowserCommand, Parameter = "https://github.com/autofac/Autofac" }, new AboutMenuItem { Name = "NLog", Command = LaunchBrowserCommand, Parameter = "https://github.com/NLog/NLog/" }, new AboutMenuItem { Name = "SSH.NET", Command = LaunchBrowserCommand, Parameter = "https://github.com/sshnet/SSH.NET/" }, new AboutMenuItem { Name = "Rg.Plugins.Popup", Command = LaunchBrowserCommand, Parameter = "https://github.com/rotorgames/Rg.Plugins.Popup/" }, new AboutMenuItem { Name = "Microcharts", Command = LaunchBrowserCommand, Parameter = "https://github.com/aloisdeniel/Microcharts" }, new AboutMenuItem { Name = "httptransfertasks", Command = LaunchBrowserCommand, Parameter = "https://github.com/aritchie/httptransfertasks" }, new AboutMenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" } }); }
public SettingsPageViewModel(ILogger logger) : base(logger) { AboutItems.AddRange(new[] { new SettingsMenuItem { Name = "Created by Xamarin with <3", Command = LaunchBrowserCommand, Parameter = "http://www.xamarin.com" }, new SettingsMenuItem { Name = "Open source on GitHub!", Command = LaunchBrowserCommand, Parameter = "https://github.com/doodz/AppSshForm" }, new SettingsMenuItem { Name = "License GPL 3", Command = LaunchBrowserCommand, Parameter = "https://opensource.org/licenses/GPL-3.0/" } }); TechnologyItems.AddRange(new[] { new SettingsMenuItem { Name = "PCL Storage", Command = LaunchBrowserCommand, Parameter = "https://github.com/dsplaisted/PCLStorage" }, new SettingsMenuItem { Name = "Settings Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Settings" }, new SettingsMenuItem { Name = "sqlite-net-pcl", Command = LaunchBrowserCommand, Parameter = "https://github.com/praeclarum/sqlite-net" }, new SettingsMenuItem { Name = "Autofac", Command = LaunchBrowserCommand, Parameter = "https://github.com/autofac/Autofac" }, new SettingsMenuItem { Name = "NLog", Command = LaunchBrowserCommand, Parameter = "https://github.com/NLog/NLog/" }, new SettingsMenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" } }); }
public SettingsViewModel() { //This will be triggered wen Settings.PropertyChanged += async(sender, e) => { if (e.PropertyName == "Email") { Settings.NeedsSync = true; OnPropertyChanged("LoginText"); OnPropertyChanged("AccountItems"); //if logged in you should go ahead and sync data. if (Settings.IsLoggedIn) { await ExecuteSyncCommandAsync(); } } }; AboutItems.AddRange(new [] { new MenuItem { Name = "Created by Xamarin with <3", Command = LaunchBrowserCommand, Parameter = "http://www.xamarin.com" }, new MenuItem { Name = "Open source on GitHub!", Command = LaunchBrowserCommand, Parameter = "http://tiny.cc/app-conference" }, new MenuItem { Name = "Terms of Use", Command = LaunchBrowserCommand, Parameter = "https://store.xamarin.com/terms" }, new MenuItem { Name = "Privacy Policy", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/privacy" }, new MenuItem { Name = "Open Source Notice", Command = LaunchBrowserCommand, Parameter = "http://tiny.cc/app-conference-osn" } }); TechnologyItems.AddRange(new [] { new MenuItem { Name = "Azure Mobile Apps", Command = LaunchBrowserCommand, Parameter = "https://github.com/Azure/azure-mobile-apps-net-client/" }, new MenuItem { Name = "Censored", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Censored" }, new MenuItem { Name = "Calendar Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/TheAlmightyBob/Calendars" }, new MenuItem { Name = "Connectivity Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Connectivity" }, new MenuItem { Name = "Embedded Resource Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/JosephHill/EmbeddedResourcePlugin" }, new MenuItem { Name = "External Maps Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ExternalMaps" }, new MenuItem { Name = "Humanizer", Command = LaunchBrowserCommand, Parameter = "https://github.com/Humanizr/Humanizer" }, new MenuItem { Name = "Image Circles", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ImageCircle" }, new MenuItem { Name = "Json.NET", Command = LaunchBrowserCommand, Parameter = "https://github.com/JamesNK/Newtonsoft.Json" }, new MenuItem { Name = "LinqToTwitter", Command = LaunchBrowserCommand, Parameter = "https://github.com/JoeMayo/LinqToTwitter" }, new MenuItem { Name = "Messaging Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/cjlotz/Xamarin.Plugins" }, new MenuItem { Name = "Mvvm Helpers", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/mvvm-helpers" }, new MenuItem { Name = "Noda Time", Command = LaunchBrowserCommand, Parameter = "https://github.com/nodatime/nodatime" }, new MenuItem { Name = "Permissions Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Permissions" }, new MenuItem { Name = "PCL Storage", Command = LaunchBrowserCommand, Parameter = "https://github.com/dsplaisted/PCLStorage" }, new MenuItem { Name = "Pull to Refresh Layout", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Forms-PullToRefreshLayout" }, new MenuItem { Name = "Settings Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Settings" }, new MenuItem { Name = "Toolkit for Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/xamarin.forms-toolkit" }, new MenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" }, new MenuItem { Name = "Xamarin Insights", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/insights" }, new MenuItem { Name = "ZXing.Net Mobile", Command = LaunchBrowserCommand, Parameter = "https://github.com/Redth/ZXing.Net.Mobile" } }); }
public SettingsViewModel(INavigationService navigationService, IEventAggregator eventAggregator, IStoreManager storeManager, IToast toast, IFavoriteService favoriteService, ILoggerFacade logger, ILaunchTwitter twitter, ISSOClient ssoClient, IPushNotifications pushNotifications, IReminderService reminderService, IPageDialogService pageDialogService) : base(navigationService, eventAggregator, storeManager, toast, favoriteService, logger, twitter, ssoClient, pushNotifications, reminderService, pageDialogService) { //This will be triggered wen Settings.PropertyChanged += async(sender, e) => { if (e.PropertyName == "Email") { Settings.NeedsSync = true; OnPropertyChanged("LoginText"); OnPropertyChanged("AccountItems"); //if logged in you should go ahead and sync data. if (Settings.IsLoggedIn) { await ExecuteSyncCommandAsync(); } } }; AboutItems.AddRange(new[] { new Models.MenuItem { Name = "Created by MyMie with love for Dev Open Space Leipzig", Command = LaunchBrowserCommand, Parameter = "https://www.mymieapp.com" }, new Models.MenuItem { Name = "Open source on GitHub!", Command = LaunchBrowserCommand, Parameter = "https://github.com/dersia/devopenspaceapp" }, //new Models.MenuItem { Name = "Open Source Notice", Command=LaunchBrowserCommand, Parameter="http://tiny.cc/app-evolve-osn"} }); TechnologyItems.AddRange(new[] { new Models.MenuItem { Name = "Azure Mobile Apps", Command = LaunchBrowserCommand, Parameter = "https://github.com/Azure/azure-mobile-apps-net-client/" }, new Models.MenuItem { Name = "Censored", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Censored" }, new Models.MenuItem { Name = "Calendar Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/TheAlmightyBob/Calendars" }, new Models.MenuItem { Name = "Connectivity Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Connectivity" }, new Models.MenuItem { Name = "Embedded Resource Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/JosephHill/EmbeddedResourcePlugin" }, new Models.MenuItem { Name = "External Maps Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ExternalMaps" }, new Models.MenuItem { Name = "Image Circles", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ImageCircle" }, new Models.MenuItem { Name = "Json.NET", Command = LaunchBrowserCommand, Parameter = "https://github.com/JamesNK/Newtonsoft.Json" }, new Models.MenuItem { Name = "LinqToTwitter", Command = LaunchBrowserCommand, Parameter = "https://github.com/JoeMayo/LinqToTwitter" }, new Models.MenuItem { Name = "Messaging Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/cjlotz/Xamarin.Plugins" }, new Models.MenuItem { Name = "Permissions Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Permissions" }, new Models.MenuItem { Name = "Xamarin Evolve App", Command = LaunchBrowserCommand, Parameter = "https://github.com/xamarinhq/app-evolve" }, new Models.MenuItem { Name = "PCL Storage", Command = LaunchBrowserCommand, Parameter = "https://github.com/dsplaisted/PCLStorage" }, new Models.MenuItem { Name = "Pull to Refresh Layout", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Forms-PullToRefreshLayout" }, new Models.MenuItem { Name = "Settings Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Settings" }, new Models.MenuItem { Name = "Toolkit for Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/xamarin.forms-toolkit" }, new Models.MenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" }, new Models.MenuItem { Name = "Prism.Forms", Command = LaunchBrowserCommand, Parameter = "https://github.com/PrismLibrary/Prism" }, }); AboutItems.CollectionChanged += (sender, e) => { AboutListHeightAdjustment = AboutItems.Count; }; AboutListHeightAdjustment = AboutItems.Count; }
public SettingsViewModel(INavigation navigation) : base(navigation) { signOnClient = DependencyService.Get <ISignOnClient>(); AboutItems.AddRange(new[] { new MenuItem { Name = "Created by Chris Risner", Command = LaunchBrowserCommand, Parameter = "http://chrisrisner.com" }, new MenuItem { Name = "Version: " + VersionNumber }, }); TechnologyItems.AddRange(new[] { new MenuItem { Name = "ACR User Dialogs", Command = LaunchBrowserCommand, Parameter = "https://github.com/aritchie/userdialogs" }, new MenuItem { Name = "Fody", Command = LaunchBrowserCommand, Parameter = "http://github.com/Fody/Fody" }, new MenuItem { Name = "Fresh Essentials", Command = LaunchBrowserCommand, Parameter = "https://github.com/XAM-Consulting/FreshEssentials" }, new MenuItem { Name = "Connectivity Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Connectivity" }, new MenuItem { Name = "Current Activity Plugin", Command = LaunchBrowserCommand, Parameter = "http://www.github.com/jamesmontemagno/Xamarin.Plugins" }, new MenuItem { Name = "Modern HTTP Client", Command = LaunchBrowserCommand, Parameter = "https://github.com/paulcbetts/ModernHttpClient" }, new MenuItem { Name = "Humanizer", Command = LaunchBrowserCommand, Parameter = "https://github.com/Humanizr/Humanizer" }, new MenuItem { Name = "Image Circles", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ImageCircle" }, new MenuItem { Name = "Json.NET", Command = LaunchBrowserCommand, Parameter = "https://github.com/JamesNK/Newtonsoft.Json" }, new MenuItem { Name = "Mvvm Helpers", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/mvvm-helpers" }, new MenuItem { Name = "Permissions Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Permissions" }, new MenuItem { Name = "Realm", Command = LaunchBrowserCommand, Parameter = "http://github.com/realm/realm-dotnet" }, new MenuItem { Name = "Share Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jguertl/SharePlugin" }, new MenuItem { Name = "Pull to Refresh Layout", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Forms-PullToRefreshLayout" }, new MenuItem { Name = "Settings Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Settings" }, new MenuItem { Name = "Toolkit for Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/xamarin.forms-toolkit" }, new MenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" }, new MenuItem { Name = "Visual Studio Mobile Center", Command = LaunchBrowserCommand, Parameter = "https://www.visualstudio.com/vs/mobile-center/" } }); }
public SettingsViewModel() { AboutItems.AddRange( new[] { new MenuItem { Name = $"Created by {AboutThisApp.Developer} with <3", Command = LaunchBrowserCommand, Parameter = AboutThisApp.DeveloperWebsite }, new MenuItem { Name = $"Big thanks to James Montemagno!", Command = LaunchBrowserCommand, Parameter = AboutThisApp.MontemagnoWebsite }, new MenuItem { Name = "Open source on GitHub!", Command = LaunchBrowserCommand, Parameter = AboutThisApp.OpenSourceUrl }, new MenuItem { Name = "Terms of Use", Command = LaunchBrowserCommand, Parameter = AboutThisApp.TermsOfUseUrl }, new MenuItem { Name = "Privacy Policy", Command = LaunchBrowserCommand, Parameter = AboutThisApp.PrivacyPolicyUrl }, new MenuItem { Name = "Open Source Notice", Command = LaunchBrowserCommand, Parameter = AboutThisApp.OpenSourceNoticeUrl } }); TechnologyItems.AddRange( new[] { new MenuItem { Name = "Censored", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Censored" }, new MenuItem { Name = "Calendar Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/TheAlmightyBob/Calendars" }, new MenuItem { Name = "Connectivity Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Connectivity" }, new MenuItem { Name = "Embedded Resource Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/JosephHill/EmbeddedResourcePlugin" }, new MenuItem { Name = "Humanizer", Command = LaunchBrowserCommand, Parameter = "https://github.com/Humanizr/Humanizer" }, new MenuItem { Name = "Image Circles", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ImageCircle" }, new MenuItem { Name = "Json.NET", Command = LaunchBrowserCommand, Parameter = "https://github.com/JamesNK/Newtonsoft.Json" }, new MenuItem { Name = "LinqToTwitter", Command = LaunchBrowserCommand, Parameter = "https://github.com/JoeMayo/LinqToTwitter" }, new MenuItem { Name = "Messaging Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/cjlotz/Xamarin.Plugins" }, new MenuItem { Name = "Mvvm Helpers", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/mvvm-helpers" }, new MenuItem { Name = "Noda Time", Command = LaunchBrowserCommand, Parameter = "https://github.com/nodatime/nodatime" }, new MenuItem { Name = "Permissions Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Permissions" }, new MenuItem { Name = "PCL Storage", Command = LaunchBrowserCommand, Parameter = "https://github.com/dsplaisted/PCLStorage" }, new MenuItem { Name = "Pull to Refresh Layout", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Forms-PullToRefreshLayout" }, new MenuItem { Name = "Settings Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Settings" }, new MenuItem { Name = "Toolkit for Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/xamarin.forms-toolkit" }, new MenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" }, new MenuItem { Name = "Xamarin Insights", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/insights" } }); }
public SettingsViewModel() { //This will be triggered wen Settings.PropertyChanged += async(sender, e) => { if (e.PropertyName == "Email") { Settings.NeedsSync = true; OnPropertyChanged("LoginText"); OnPropertyChanged("AccountItems"); //if logged in you should go ahead and sync data. if (Settings.IsLoggedIn) { await ExecuteSyncCommandAsync(); } } }; AboutItems.AddRange(new [] { new MenuItem { Name = "Created by Megsoft Consulting, Inc", Command = LaunchBrowserCommand, Parameter = "https://megsoftconsulting.com/" }, new MenuItem { Name = "Open source on GitHub!", Command = LaunchBrowserCommand, Parameter = "https://github.com/megsoftconsulting/app-conference" }, }); TechnologyItems.AddRange(new [] { new MenuItem { Name = "Azure Mobile Apps", Command = LaunchBrowserCommand, Parameter = "https://github.com/Azure/azure-mobile-apps-net-client/" }, new MenuItem { Name = "Censored", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Censored" }, new MenuItem { Name = "Calendar Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/TheAlmightyBob/Calendars" }, new MenuItem { Name = "External Maps Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ExternalMaps" }, new MenuItem { Name = "Humanizer", Command = LaunchBrowserCommand, Parameter = "https://github.com/Humanizr/Humanizer" }, new MenuItem { Name = "Image Circles", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ImageCircle" }, new MenuItem { Name = "Json.NET", Command = LaunchBrowserCommand, Parameter = "https://github.com/JamesNK/Newtonsoft.Json" }, new MenuItem { Name = "LinqToTwitter", Command = LaunchBrowserCommand, Parameter = "https://github.com/JoeMayo/LinqToTwitter" }, new MenuItem { Name = "Mvvm Helpers", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/mvvm-helpers" }, new MenuItem { Name = "Noda Time", Command = LaunchBrowserCommand, Parameter = "https://github.com/nodatime/nodatime" }, new MenuItem { Name = "Permissions Plugin", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Permissions" }, new MenuItem { Name = "Pull to Refresh Layout", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/Xamarin.Forms-PullToRefreshLayout" }, new MenuItem { Name = "Toolkit for Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "https://github.com/jamesmontemagno/xamarin.forms-toolkit" }, new MenuItem { Name = "Xamarin.Essentials", Command = LaunchBrowserCommand, Parameter = "https://github.com/xamarin/Essentials" }, new MenuItem { Name = "Xamarin.Forms", Command = LaunchBrowserCommand, Parameter = "http://xamarin.com/forms" }, new MenuItem { Name = "ZXing.Net Mobile", Command = LaunchBrowserCommand, Parameter = "https://github.com/Redth/ZXing.Net.Mobile" } }); }