public virtual void SetOnDragListener(global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDragListener p0)
        {
            if (id_setOnDragListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDragListener_ == IntPtr.Zero)
            {
                id_setOnDragListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDragListener_ = JNIEnv.GetMethodID(class_ref, "setOnDragListener", "(Lcom/joanzapata/pdfview/util/DragPinchListener$OnDragListener;)V");
            }

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setOnDragListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDragListener_, new JValue(p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setOnDragListener", "(Lcom/joanzapata/pdfview/util/DragPinchListener$OnDragListener;)V"), new JValue(p0));
            }
        }
 static void n_SetOnDragListener_Lcom_joanzapata_pdfview_util_DragPinchListener_OnDragListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Joanzapata.Pdfview.Util.DragPinchListener __this             = global::Java.Lang.Object.GetObject <global::Com.Joanzapata.Pdfview.Util.DragPinchListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDragListener p0 = (global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDragListener)global::Java.Lang.Object.GetObject <global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDragListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetOnDragListener(p0);
 }
 static void n_StartDrag_FF(IntPtr jnienv, IntPtr native__this, float p0, float p1)
 {
     global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDragListener __this = global::Java.Lang.Object.GetObject <global::Com.Joanzapata.Pdfview.Util.DragPinchListener.IOnDragListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.StartDrag(p0, p1);
 }