void OnPlusClicked(object sender, EventArgs args) { var profile = new UserProfile (); var profilePage = new ManageUserProfile (); profilePage.BindingContext = profile; Navigation.PushAsync (profilePage); }
public UserProfileList() { InitializeComponent (); listView.ItemSelected += (sender, e) => { var profiles = (UserProfile)e.SelectedItem; var profilesPage = new ManageUserProfile (); profilesPage.BindingContext = profiles; Navigation.PushAsync (profilesPage); }; }