public unsafe GifDrawableTransformation(global::Com.Bumptech.Glide.Load.ITransformation p0, global::Com.Bumptech.Glide.Load.Engine.Bitmap_recycle.IBitmapPool p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                if (GetType() != typeof(GifDrawableTransformation))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/bumptech/glide/load/Transformation;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/bumptech/glide/load/Transformation;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_bumptech_glide_load_Transformation_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_bumptech_glide_load_Transformation_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/bumptech/glide/load/Transformation;Lcom/bumptech/glide/load/engine/bitmap_recycle/BitmapPool;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_bumptech_glide_load_Transformation_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_bumptech_glide_load_Transformation_Lcom_bumptech_glide_load_engine_bitmap_recycle_BitmapPool_, __args);
            } finally {
            }
        }
Beispiel #2
0
 static IntPtr n_GetId(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bumptech.Glide.Load.ITransformation __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.ITransformation> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.Id));
 }