public async void OnSelected(object sender, EventArgs e) { if (MemberListView.SelectedItem != null) { IEMember member = MemberListView.SelectedItem as IEMember; await Navigation.PushAsync(ProfilePage.GetInstance(member)); MemberListView.SelectedItem = null; } }
public async void OnSelected(object sender, EventArgs e) { if (MemberListView.SelectedItem != null) { IEMember member = MemberListView.SelectedItem as IEMember; //DisplayAlert("SelectedItem", MemberListView.SelectedItem.ToString(), "OK"); await Navigation.PushAsync(ProfilePage.GetInstance(member)); MemberListView.SelectedItem = null; } }