Beispiel #1
0
        public unsafe ThumbnailRequestCoordinator(global::Com.Bumptech.Glide.Request.IRequestCoordinator p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (GetType() != typeof(ThumbnailRequestCoordinator))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/request/RequestCoordinator;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/request/RequestCoordinator;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_bumptech_glide_request_RequestCoordinator_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_bumptech_glide_request_RequestCoordinator_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/request/RequestCoordinator;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_request_RequestCoordinator_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_request_RequestCoordinator_, __args);
            } finally {
            }
        }
        static bool n_CanSetImage_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Bumptech.Glide.Request.IRequestCoordinator __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequestCoordinator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Bumptech.Glide.Request.IRequest            p0     = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.CanSetImage(p0);

            return(__ret);
        }
 static bool n_IsAnyResourceSet(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Request.IRequestCoordinator __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequestCoordinator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsAnyResourceSet);
 }
 static void n_OnRequestSuccess_Lcom_bumptech_glide_request_Request_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Request.IRequestCoordinator __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequestCoordinator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bumptech.Glide.Request.IRequest            p0     = (global::Com.Bumptech.Glide.Request.IRequest)global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Request.IRequest> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnRequestSuccess(p0);
 }