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_refreshLayout, IntPtr native_oldState, IntPtr native_newState) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout refreshLayout = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout> (native_refreshLayout, JniHandleOwnership.DoNotTransfer); global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState oldState = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState> (native_oldState, JniHandleOwnership.DoNotTransfer); global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState newState = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Constant.RefreshState> (native_newState, JniHandleOwnership.DoNotTransfer); __this.OnStateChanged(refreshLayout, oldState, newState); }
static int n_OnFinish_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_layout, bool success) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout layout = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout> (native_layout, JniHandleOwnership.DoNotTransfer); int __ret = __this.OnFinish(layout, success); return(__ret); }
static void n_SetPrimaryColors_arrayI(IntPtr jnienv, IntPtr native__this, IntPtr native_colors) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); int[] colors = (int[])JNIEnv.GetArray(native_colors, JniHandleOwnership.DoNotTransfer, typeof(int)); __this.SetPrimaryColors(colors); if (colors != null) { JNIEnv.CopyArray(colors, native_colors); } }
static IntPtr n_GetSpinnerStyle(IntPtr jnienv, IntPtr native__this) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.SpinnerStyle)); }
static bool n_IsSupportHorizontalDrag(IntPtr jnienv, IntPtr native__this) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsSupportHorizontalDrag); }
static void n_OnStartAnimator_Lcom_scwang_smartrefresh_layout_api_RefreshLayout_II(IntPtr jnienv, IntPtr native__this, IntPtr native_layout, int headHeight, int extendHeight) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout layout = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshLayout> (native_layout, JniHandleOwnership.DoNotTransfer); __this.OnStartAnimator(layout, headHeight, extendHeight); }
static void n_OnReleasing_FIII(IntPtr jnienv, IntPtr native__this, float percent, int offset, int headHeight, int extendHeight) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnReleasing(percent, offset, headHeight, extendHeight); }
static void n_OnInitialized_Lcom_scwang_smartrefresh_layout_api_RefreshKernel_II(IntPtr jnienv, IntPtr native__this, IntPtr native_kernel, int height, int extendHeight) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshKernel kernel = (global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshKernel)global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Api.IRefreshKernel> (native_kernel, JniHandleOwnership.DoNotTransfer); __this.OnInitialized(kernel, height, extendHeight); }
static void n_OnHorizontalDrag_FII(IntPtr jnienv, IntPtr native__this, float percentX, int offsetX, int offsetMax) { global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper __this = global::Java.Lang.Object.GetObject <global::Com.Scwang.Smartrefresh.Layout.Impl.RefreshHeaderWrapper> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnHorizontalDrag(percentX, offsetX, offsetMax); }