コード例 #1
0
 public async void OnAboutToolbarItemClicked(object sender, EventArgs args)
 {
     AboutPageViewModel aboutViewModel = new AboutPageViewModel(this.service);
     AboutPage          aboutPage      = new AboutPage(aboutViewModel);
     await Navigation.PushAsync(aboutPage);
 }
コード例 #2
0
 public AboutPage(AboutPageViewModel aboutViewModel)
 {
     InitializeComponent();
     BindingContext = aboutViewModel;
 }