Exemple #1
0
 static void n_SetCurrentPageIndex_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Org.Vudroid.Core.Models.CurrentPageModel __this = global::Java.Lang.Object.GetObject <global::Org.Vudroid.Core.Models.CurrentPageModel> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetCurrentPageIndex(p0);
 }
        public DocumentView(global::Android.Content.Context p0, global::Org.Vudroid.Core.Models.ZoomModel p1, global::Org.Vudroid.Core.Models.DecodingProgressModel p2, global::Org.Vudroid.Core.Models.CurrentPageModel p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            if (GetType() != typeof(DocumentView))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Lorg/vudroid/core/models/ZoomModel;Lorg/vudroid/core/models/DecodingProgressModel;Lorg/vudroid/core/models/CurrentPageModel;)V", new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/Context;Lorg/vudroid/core/models/ZoomModel;Lorg/vudroid/core/models/DecodingProgressModel;Lorg/vudroid/core/models/CurrentPageModel;)V", new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3));
                return;
            }

            if (id_ctor_Landroid_content_Context_Lorg_vudroid_core_models_ZoomModel_Lorg_vudroid_core_models_DecodingProgressModel_Lorg_vudroid_core_models_CurrentPageModel_ == IntPtr.Zero)
            {
                id_ctor_Landroid_content_Context_Lorg_vudroid_core_models_ZoomModel_Lorg_vudroid_core_models_DecodingProgressModel_Lorg_vudroid_core_models_CurrentPageModel_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lorg/vudroid/core/models/ZoomModel;Lorg/vudroid/core/models/DecodingProgressModel;Lorg/vudroid/core/models/CurrentPageModel;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lorg_vudroid_core_models_ZoomModel_Lorg_vudroid_core_models_DecodingProgressModel_Lorg_vudroid_core_models_CurrentPageModel_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_Context_Lorg_vudroid_core_models_ZoomModel_Lorg_vudroid_core_models_DecodingProgressModel_Lorg_vudroid_core_models_CurrentPageModel_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3));
        }