private void SelectPickerValue(UIPickerView customModelPickerView, HMSTimePicker myTimePicker)
 {
     if (myTimePicker == null)
     {
         return;
     }
     customModelPickerView.Select(new nint(myTimePicker.Time.Hours), 0, false);
     customModelPickerView.Select(new nint(myTimePicker.Time.Minutes), 2, false);
     customModelPickerView.Select(new nint(myTimePicker.Time.Seconds), 4, false);
 }
        protected override void OnElementChanged(ElementChangedEventArgs <Picker> e)
        {
            base.OnElementChanged(e);

            if (Control != null)
            {
                timeCountdownPicker = e.NewElement as HMSTimePicker;

                var customModelPickerView = new UIPickerView
                {
                    Model = new HMSTimePickerView(timeCountdownPicker)
                };

                SelectPickerValue(customModelPickerView, timeCountdownPicker);

                CreatePickerLabels(customModelPickerView);

                Control.InputView = customModelPickerView;
            }
        }
 public HMSTimePickerView(HMSTimePicker picker)
 {
     timeCountdownPicker = picker;
 }