static void n_OnStateChanged_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_Lcom_scwang_smartrefresh_layout_constant_RefreshState_Lcom_scwang_smartrefresh_layout_constant_RefreshState_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter    __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout    p0     = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState p1     = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState p2     = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.OnStateChanged(p0, p1, p2);
 }
        static int n_OnFinish_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1)
        {
            global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout p0     = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout> (native_p0, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.OnFinish(p0, p1);

            return(__ret);
        }
 static void n_SetPrimaryColors_arrayI(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     int[] p0 = (int[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(int));
     __this.SetPrimaryColors(p0);
     if (p0 != null)
     {
         JNIEnv.CopyArray(p0, native_p0);
     }
 }
        public virtual unsafe void OnFooterFinish(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter footer, bool success)
        {
            const string __id = "onFooterFinish.(Lcom/scwang/smartrefresh/layout/api/RefreshFooter;Z)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((footer == null) ? IntPtr.Zero : ((global::Java.Lang.Object)footer).Handle);
                __args [1] = new JniArgumentValue(success);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
        public unsafe void OnFooterFinish(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter p0, bool p1)
        {
            if (id_onFooterFinish_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_Z == IntPtr.Zero)
            {
                id_onFooterFinish_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_Z = JNIEnv.GetMethodID(class_ref, "onFooterFinish", "(Lcom/scwang/smartrefresh/layout/api/RefreshFooter;Z)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onFooterFinish_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_Z, __args);
        }
        public virtual unsafe void OnFooterStartAnimator(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter footer, int headHeight, int extendHeight)
        {
            const string __id = "onFooterStartAnimator.(Lcom/scwang/smartrefresh/layout/api/RefreshFooter;II)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [3];
                __args [0] = new JniArgumentValue((footer == null) ? IntPtr.Zero : ((global::Java.Lang.Object)footer).Handle);
                __args [1] = new JniArgumentValue(headHeight);
                __args [2] = new JniArgumentValue(extendHeight);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
        public unsafe void OnFooterStartAnimator(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter p0, int p1, int p2)
        {
            if (id_onFooterStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_II == IntPtr.Zero)
            {
                id_onFooterStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_II = JNIEnv.GetMethodID(class_ref, "onFooterStartAnimator", "(Lcom/scwang/smartrefresh/layout/api/RefreshFooter;II)V");
            }
            JValue *__args = stackalloc JValue [3];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue(p1);
            __args [2] = new JValue(p2);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onFooterStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_II, __args);
        }
        public unsafe global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter CreateRefreshFooter(global::Android.Content.Context p0, global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout p1)
        {
            if (id_createRefreshFooter_Landroid_content_Context_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_ == IntPtr.Zero)
            {
                id_createRefreshFooter_Landroid_content_Context_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_ = JNIEnv.GetMethodID(class_ref, "createRefreshFooter", "(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/api/RefreshLayout;)Lcom/scwang/smartrefresh/layout/api/RefreshFooter;");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
            global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __ret = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_createRefreshFooter_Landroid_content_Context_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_, __args), JniHandleOwnership.TransferLocalRef);
            return(__ret);
        }
        public virtual unsafe void OnFooterReleasing(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter footer, float percent, int offset, int footerHeight, int extendHeight)
        {
            const string __id = "onFooterReleasing.(Lcom/scwang/smartrefresh/layout/api/RefreshFooter;FIII)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [5];
                __args [0] = new JniArgumentValue((footer == null) ? IntPtr.Zero : ((global::Java.Lang.Object)footer).Handle);
                __args [1] = new JniArgumentValue(percent);
                __args [2] = new JniArgumentValue(offset);
                __args [3] = new JniArgumentValue(footerHeight);
                __args [4] = new JniArgumentValue(extendHeight);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
 static IntPtr n_GetView(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.View));
 }
 static void n_OnFooterStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_II(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2)
 {
     global::Com.Scwang.Smartrefresh.Layout.Listener.IOnMultiPurposeListener __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Listener.IOnMultiPurposeListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter p0 = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnFooterStartAnimator(p0, p1, p2);
 }
 static void n_OnFooterStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_II(IntPtr jnienv, IntPtr native__this, IntPtr native_footer, int headHeight, int extendHeight)
 {
     global::Com.Scwang.Smartrefresh.Layout.Listener.SimpleMultiPurposeListener __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Listener.SimpleMultiPurposeListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter footer = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (native_footer, JniHandleOwnership.DoNotTransfer);
     __this.OnFooterStartAnimator(footer, headHeight, extendHeight);
 }
 static void n_OnPullReleasing_FIII(IntPtr jnienv, IntPtr native__this, float p0, int p1, int p2, int p3)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnPullReleasing(p0, p1, p2, p3);
 }
 static void n_OnFooterFinish_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_footer, bool success)
 {
     global::Com.Scwang.Smartrefresh.Layout.Listener.SimpleMultiPurposeListener __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Listener.SimpleMultiPurposeListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter footer = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (native_footer, JniHandleOwnership.DoNotTransfer);
     __this.OnFooterFinish(footer, success);
 }
 static void n_OnFooterPulling_Lcom_scwang_smartrefresh_layout_api_RefreshFooter_FIII(IntPtr jnienv, IntPtr native__this, IntPtr native_footer, float percent, int offset, int footerHeight, int extendHeight)
 {
     global::Com.Scwang.Smartrefresh.Layout.Listener.SimpleMultiPurposeListener __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Listener.SimpleMultiPurposeListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter footer = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (native_footer, JniHandleOwnership.DoNotTransfer);
     __this.OnFooterPulling(footer, percent, offset, footerHeight, extendHeight);
 }
 static void n_OnInitialized_Lcom_scwang_smartrefresh_layout_api_RefreshKernel_II(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshKernel p0     = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshKernel)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshKernel> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnInitialized(p0, p1, p2);
 }
 static bool n_SetLoadmoreFinished_Z(IntPtr jnienv, IntPtr native__this, bool p0)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.SetLoadmoreFinished(p0));
 }
 static bool n_IsSupportHorizontalDrag(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshFooter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsSupportHorizontalDrag);
 }