public void OpenContactMessagePage(object sender, ItemTappedEventArgs e)
        {
            var           myListView  = (ListView)sender;
            PhoneContact  myItem      = (PhoneContact)myListView.SelectedItem;
            MessagingPage messagePage = new MessagingPage(myItem);

            Navigation.PushAsync(messagePage);
        }
Beispiel #2
0
 public MessagingPage(PhoneContact contact)
 {
     InitializeComponent();
     BindingContext = new MessagingViewModel(contact);
 }