static bool n_CanPullDown_Landroid_view_View_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Views.View p0 = global::Java.Lang.Object.GetObject <global::Android.Views.View> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.CanPullDown(p0);

            return(__ret);
        }
コード例 #2
0
        public unsafe void SetRefreshScrollBoundary(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary p0)
        {
            if (id_setRefreshScrollBoundary_Lcom_scwang_smartrefresh_layout_api_RefreshScrollBoundary_ == IntPtr.Zero)
            {
                id_setRefreshScrollBoundary_Lcom_scwang_smartrefresh_layout_api_RefreshScrollBoundary_ = JNIEnv.GetMethodID(class_ref, "setRefreshScrollBoundary", "(Lcom/scwang/smartrefresh/layout/api/RefreshScrollBoundary;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setRefreshScrollBoundary_Lcom_scwang_smartrefresh_layout_api_RefreshScrollBoundary_, __args);
        }
        public virtual unsafe void SetRefreshScrollBoundary(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary boundary)
        {
            const string __id = "setRefreshScrollBoundary.(Lcom/scwang/smartrefresh/layout/api/RefreshScrollBoundary;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((boundary == null) ? IntPtr.Zero : ((global::Java.Lang.Object)boundary).Handle);
                _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args);
            } finally {
            }
        }
コード例 #4
0
 static void n_SetRefreshScrollBoundary_Lcom_scwang_smartrefresh_layout_api_RefreshScrollBoundary_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshContent        __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshContent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary p0     = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshScrollBoundary> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetRefreshScrollBoundary(p0);
 }