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.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (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_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.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (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 void n_SetPrimaryColors_arrayI(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (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 unsafe void OnHeaderFinish(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader p0, bool p1) { if (id_onHeaderFinish_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_Z == IntPtr.Zero) { id_onHeaderFinish_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_Z = JNIEnv.GetMethodID(class_ref, "onHeaderFinish", "(Lcom/scwang/smartrefresh/layout/api/RefreshHeader;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_onHeaderFinish_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_Z, __args); }
public virtual unsafe void OnHeaderFinish(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader header, bool success) { const string __id = "onHeaderFinish.(Lcom/scwang/smartrefresh/layout/api/RefreshHeader;Z)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((header == null) ? IntPtr.Zero : ((global::Java.Lang.Object)header).Handle); __args [1] = new JniArgumentValue(success); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public unsafe global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader CreateRefreshHeader(global::Android.Content.Context p0, global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout p1) { if (id_createRefreshHeader_Landroid_content_Context_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_ == IntPtr.Zero) { id_createRefreshHeader_Landroid_content_Context_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_ = JNIEnv.GetMethodID(class_ref, "createRefreshHeader", "(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/api/RefreshLayout;)Lcom/scwang/smartrefresh/layout/api/RefreshHeader;"); } 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.IRefreshHeader __ret = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_createRefreshHeader_Landroid_content_Context_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); }
public unsafe void OnHeaderStartAnimator(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader p0, int p1, int p2) { if (id_onHeaderStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_II == IntPtr.Zero) { id_onHeaderStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_II = JNIEnv.GetMethodID(class_ref, "onHeaderStartAnimator", "(Lcom/scwang/smartrefresh/layout/api/RefreshHeader;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_onHeaderStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_II, __args); }
public virtual unsafe void OnHeaderStartAnimator(global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader header, int footerHeight, int extendHeight) { const string __id = "onHeaderStartAnimator.(Lcom/scwang/smartrefresh/layout/api/RefreshHeader;II)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((header == null) ? IntPtr.Zero : ((global::Java.Lang.Object)header).Handle); __args [1] = new JniArgumentValue(footerHeight); __args [2] = new JniArgumentValue(extendHeight); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
static void n_OnHeaderStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_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.IRefreshHeader p0 = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnHeaderStartAnimator(p0, p1, p2); }
static void n_OnPullingDown_FIII(IntPtr jnienv, IntPtr native__this, float p0, int p1, int p2, int p3) { global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnPullingDown(p0, p1, p2, p3); }
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.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (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 IntPtr n_GetView(IntPtr jnienv, IntPtr native__this) { global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.View)); }
static bool n_IsSupportHorizontalDrag(IntPtr jnienv, IntPtr native__this) { global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsSupportHorizontalDrag); }
static void n_OnHeaderStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_II(IntPtr jnienv, IntPtr native__this, IntPtr native_header, 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.IRefreshHeader header = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (native_header, JniHandleOwnership.DoNotTransfer); __this.OnHeaderStartAnimator(header, footerHeight, extendHeight); }
static void n_OnHeaderPulling_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_FIII(IntPtr jnienv, IntPtr native__this, IntPtr native_header, float percent, int offset, int headerHeight, 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.IRefreshHeader header = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (native_header, JniHandleOwnership.DoNotTransfer); __this.OnHeaderPulling(header, percent, offset, headerHeight, extendHeight); }
static void n_OnHeaderFinish_Lcom_scwang_smartrefresh_layout_api_RefreshHeader_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_header, 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.IRefreshHeader header = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshHeader> (native_header, JniHandleOwnership.DoNotTransfer); __this.OnHeaderFinish(header, success); }