public unsafe void AddListener(global::Com.Bumptech.Glide.Manager.ILifecycleListener p0)
        {
            if (id_addListener_Lcom_bumptech_glide_manager_LifecycleListener_ == IntPtr.Zero)
            {
                id_addListener_Lcom_bumptech_glide_manager_LifecycleListener_ = JNIEnv.GetMethodID(class_ref, "addListener", "(Lcom/bumptech/glide/manager/LifecycleListener;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(Handle, id_addListener_Lcom_bumptech_glide_manager_LifecycleListener_, __args);
        }
Beispiel #2
0
 static void n_OnDestroy(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Manager.ILifecycleListener __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Manager.ILifecycleListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnDestroy();
 }
 static void n_AddListener_Lcom_bumptech_glide_manager_LifecycleListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Manager.ILifecycle         __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Manager.ILifecycle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Manager.ILifecycleListener p0     = (global::Com.Bumptech.Glide.Manager.ILifecycleListener)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Manager.ILifecycleListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.AddListener(p0);
 }