public ScrollableOnScrollEventArgs(global::Com.Mob.Tools.Gui.IScrollable p0, int p1, int p2, int p3, int p4) { this.p0 = p0; this.p1 = p1; this.p2 = p2; this.p3 = p3; this.p4 = p4; }
#pragma warning restore 0649 public void OnScrollChanged(global::Com.Mob.Tools.Gui.IScrollable p0, int p1, int p2, int p3, int p4) { var __h = Handler; if (__h != null) { __h(sender, new ScrollableOnScrollEventArgs(p0, p1, p2, p3, p4)); } }
public override unsafe void OnScroll(global::Com.Mob.Tools.Gui.IScrollable scrollable, int firstVisibleItem, int visibleItemCount, int totalItemCount) { const string __id = "onScroll.(Lcom/mob/tools/gui/Scrollable;III)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [4]; __args [0] = new JniArgumentValue((scrollable == null) ? IntPtr.Zero : ((global::Java.Lang.Object)scrollable).Handle); __args [1] = new JniArgumentValue(firstVisibleItem); __args [2] = new JniArgumentValue(visibleItemCount); __args [3] = new JniArgumentValue(totalItemCount); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public override unsafe void OnScroll(global::Com.Mob.Tools.Gui.IScrollable p0, int p1, int p2, int p3) { const string __id = "onScroll.(Lcom/mob/tools/gui/Scrollable;III)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [4]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JniArgumentValue(p1); __args [2] = new JniArgumentValue(p2); __args [3] = new JniArgumentValue(p3); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }
public unsafe void OnScrollChanged(global::Com.Mob.Tools.Gui.IScrollable p0, int p1, int p2, int p3, int p4) { if (id_onScrollChanged_Lcom_mob_tools_gui_Scrollable_IIII == IntPtr.Zero) { id_onScrollChanged_Lcom_mob_tools_gui_Scrollable_IIII = JNIEnv.GetMethodID(class_ref, "onScrollChanged", "(Lcom/mob/tools/gui/Scrollable;IIII)V"); } JValue *__args = stackalloc JValue [5]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onScrollChanged_Lcom_mob_tools_gui_Scrollable_IIII, __args); }
static void n_OnScroll_Lcom_mob_tools_gui_Scrollable_III(IntPtr jnienv, IntPtr native__this, IntPtr native_scrollable, int firstVisibleItem, int visibleItemCount, int totalItemCount) { global::Com.Mob.Tools.Gui.PullToRequestListAdapter __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.PullToRequestListAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mob.Tools.Gui.IScrollable scrollable = (global::Com.Mob.Tools.Gui.IScrollable)global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.IScrollable> (native_scrollable, JniHandleOwnership.DoNotTransfer); __this.OnScroll(scrollable, firstVisibleItem, visibleItemCount, totalItemCount); }
static void n_OnScrollChanged_Lcom_mob_tools_gui_Scrollable_IIII(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2, int p3, int p4) { global::Com.Mob.Tools.Gui.IScrollableOnScrollListener __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.IScrollableOnScrollListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mob.Tools.Gui.IScrollable p0 = (global::Com.Mob.Tools.Gui.IScrollable)global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.IScrollable> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnScrollChanged(p0, p1, p2, p3, p4); }
public abstract void OnScroll(global::Com.Mob.Tools.Gui.IScrollable p0, int p1, int p2, int p3);
static void n_OnScroll_Lcom_mob_tools_gui_Scrollable_III(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2, int p3) { global::Com.Mob.Tools.Gui.PullToRequestBaseListAdapter __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.PullToRequestBaseListAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mob.Tools.Gui.IScrollable p0 = (global::Com.Mob.Tools.Gui.IScrollable)global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.IScrollable> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnScroll(p0, p1, p2, p3); }