public virtual unsafe void OnDateSet(global::Android.Widget.DatePicker p0, int p1, int p2, int p3)
        {
            if (id_onDateSet_Landroid_widget_DatePicker_III == IntPtr.Zero)
            {
                id_onDateSet_Landroid_widget_DatePicker_III = JNIEnv.GetMethodID(class_ref, "onDateSet", "(Landroid/widget/DatePicker;III)V");
            }
            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onDateSet_Landroid_widget_DatePicker_III, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onDateSet", "(Landroid/widget/DatePicker;III)V"), __args);
                }
            } finally {
            }
        }
 static void n_OnDateSet_Landroid_widget_DatePicker_III(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2, int p3)
 {
     global::Com.Applozic.Mobicomkit.Uiwidgets.Schedule.SelectDateFragment __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Uiwidgets.Schedule.SelectDateFragment> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Widget.DatePicker p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.DatePicker> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnDateSet(p0, p1, p2, p3);
 }