void HandleAddContactButtonClicked(object sender, EventArgs e) { MobileCenterHelpers.TrackEvent(MobileCenterConstants.AddContactButtonTapped); Device.BeginInvokeOnMainThread(async() => await Navigation.PushModalAsync(new BaseNavigationPage(new ContactDetailPage(new ContactModel(), true)))); }
protected override void OnAppearing() { base.OnAppearing(); MobileCenterHelpers.TrackEvent(MobileCenterConstants.ContactsListPageAppeared); Device.BeginInvokeOnMainThread(_contactsListView.BeginRefresh); }
protected override void OnAppearing() { base.OnAppearing(); MobileCenterHelpers.TrackEvent(MobileCenterConstants.ContactDetailPageAppeared); }