static void n_OnRemove_Ljava_lang_Object_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Mob.Tools.Gui.CachePool.IOnRemoveListener __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.CachePool.IOnRemoveListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p1, JniHandleOwnership.DoNotTransfer); __this.OnRemove(p0, p1); }
public virtual unsafe void SetOnRemoveListener(global::Com.Mob.Tools.Gui.CachePool.IOnRemoveListener listener) { const string __id = "setOnRemoveListener.(Lcom/mob/tools/gui/CachePool$OnRemoveListener;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((listener == null) ? IntPtr.Zero : ((global::Java.Lang.Object)listener).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
static void n_SetOnRemoveListener_Lcom_mob_tools_gui_CachePool_OnRemoveListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_listener) { global::Com.Mob.Tools.Gui.CachePool __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.CachePool> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mob.Tools.Gui.CachePool.IOnRemoveListener listener = (global::Com.Mob.Tools.Gui.CachePool.IOnRemoveListener)global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Gui.CachePool.IOnRemoveListener> (native_listener, JniHandleOwnership.DoNotTransfer); __this.SetOnRemoveListener(listener); }