public virtual unsafe void RemoveListener(global::Com.Facebook.Rebound.ISpringSystemListener p0)
        {
            if (id_removeListener_Lcom_facebook_rebound_SpringSystemListener_ == IntPtr.Zero)
            {
                id_removeListener_Lcom_facebook_rebound_SpringSystemListener_ = JNIEnv.GetMethodID(class_ref, "removeListener", "(Lcom/facebook/rebound/SpringSystemListener;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removeListener_Lcom_facebook_rebound_SpringSystemListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removeListener", "(Lcom/facebook/rebound/SpringSystemListener;)V"), __args);
                }
            } finally {
            }
        }
 static void n_OnAfterIntegrate_Lcom_facebook_rebound_BaseSpringSystem_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.ISpringSystemListener __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.ISpringSystemListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Rebound.BaseSpringSystem      p0     = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.BaseSpringSystem> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnAfterIntegrate(p0);
 }
 static void n_RemoveListener_Lcom_facebook_rebound_SpringSystemListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Facebook.Rebound.BaseSpringSystem      __this = global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.BaseSpringSystem> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Facebook.Rebound.ISpringSystemListener p0     = (global::Com.Facebook.Rebound.ISpringSystemListener)global::Java.Lang.Object.GetObject <global::Com.Facebook.Rebound.ISpringSystemListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RemoveListener(p0);
 }