Exemple #1
0
 public VersionDroidViewModels(Models.Android android)
 {
     BackToPageCommand = new DelegateCommand(BackToPage);
     TitleFullName     = android.FullName;
     FullName          = "Полное имя: " + android.FullName;
     Name        = "Имя версии: " + android.Name;
     ReleaseDate = "Дата выхода: " + android.ReleaseDate;
     Version     = "Версия: " + android.Version;
     WhatsNew    = android.WhatsNew;
 }
Exemple #2
0
 public VersionDroid(Models.Android android)
 {
     InitializeComponent();
     SetStyle();
     versionDroidViewModels = new VersionDroidViewModels(android)
     {
         Navigation = this.Navigation
     };
     BindingContext = versionDroidViewModels;
 }
Exemple #3
0
 public void OnItemTapped(object sender, ItemTappedEventArgs e)
 {
     Models.Android android = ((Models.Android)e.Item);
     Navigation.PushModalAsync(new VersionDroid(android));
 }