public unsafe PhotoDecodeRunnable(global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (((object)this).GetType() != typeof(PhotoDecodeRunnable))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/applozic/mobicommons/commons/image/PhotoDecodeRunnable$TaskRunnableDecodeMethods;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/applozic/mobicommons/commons/image/PhotoDecodeRunnable$TaskRunnableDecodeMethods;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_applozic_mobicommons_commons_image_PhotoDecodeRunnable_TaskRunnableDecodeMethods_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_applozic_mobicommons_commons_image_PhotoDecodeRunnable_TaskRunnableDecodeMethods_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/applozic/mobicommons/commons/image/PhotoDecodeRunnable$TaskRunnableDecodeMethods;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_applozic_mobicommons_commons_image_PhotoDecodeRunnable_TaskRunnableDecodeMethods_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_applozic_mobicommons_commons_image_PhotoDecodeRunnable_TaskRunnableDecodeMethods_, __args);
            } finally {
            }
        }
 static void n_SetImageDecodeThread_Ljava_lang_Thread_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetImageDecodeThread(p0);
 }
 static void n_SetImage_Landroid_graphics_Bitmap_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Graphics.Bitmap p0 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Bitmap> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetImage(p0);
 }
 static void n_HandleDecodeState_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.HandleDecodeState(p0);
 }
 static int n_GetTargetWidth(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.TargetWidth);
 }
 static IntPtr n_GetLocalPath(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.Commons.Image.PhotoDecodeRunnable.ITaskRunnableDecodeMethods> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.LocalPath));
 }