Exemple #1
0
        public override bool ShouldContinue(ABPeoplePickerNavigationController peoplePicker, IntPtr selectedPerson)
        {
            var e = new ABPeoplePickerSelectPersonEventArgs(selectedPerson == IntPtr.Zero ? null : new ABPerson(selectedPerson, peoplePicker.AddressBook));

            peoplePicker.OnSelectPerson(e);
            return(e.Continue);
        }
Exemple #2
0
        public override bool ShouldContinue(ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson)
        {
            var e = new ABPeoplePickerSelectPersonEventArgs(selectedPerson);

            peoplePicker.OnSelectPerson(e);
            return(e.Continue);
        }
Exemple #3
0
        protected internal virtual void OnSelectPerson(ABPeoplePickerSelectPersonEventArgs e)
        {
            var h = EnsureEventDelegate <InternalABPeoplePickerNavigationControllerDelegate> ().selectPerson;

            if (h != null)
            {
                h(this, e);
            }
        }