public override void ViewDidLoad() { base.ViewDidLoad(); ViewModel.Name = NavigationParameter.ToString(); this.SetBinding(() => ViewModel.Name, () => Name.Text); }
public override void ViewDidLoad() { base.ViewDidLoad(); ViewModel = SimpleIoc.Default.GetInstance <PageViewModel>(); Text.Text = "Parameter: " + NavigationParameter.ToString(); Close.SetCommand("TouchUpInside", ViewModel.Close); }