示例#1
0
 public static ProfilePage GetInstance(IEMember member)
 {
     if (_instance == null)
     {
         _instance = new ProfilePage();
     }
     _instance.Initialise(member);
     return(_instance);
 }
        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;
            }
        }
示例#3
0
        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;
            }
        }