public unsafe ItemsView(global::Android.Content.Context p0, global::Com.Liveperson.Infra.UI.View.Utils.ItemsView.ICellsFactory p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                if (((object)this).GetType() != typeof(ItemsView))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Lcom/liveperson/infra/ui/view/utils/ItemsView$CellsFactory;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Lcom/liveperson/infra/ui/view/utils/ItemsView$CellsFactory;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Lcom_liveperson_infra_ui_view_utils_ItemsView_CellsFactory_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Lcom_liveperson_infra_ui_view_utils_ItemsView_CellsFactory_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/liveperson/infra/ui/view/utils/ItemsView$CellsFactory;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_liveperson_infra_ui_view_utils_ItemsView_CellsFactory_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_liveperson_infra_ui_view_utils_ItemsView_CellsFactory_, __args);
            } finally {
            }
        }
            static IntPtr n_Create_Landroid_view_ViewGroup_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1)
            {
                global::Com.Liveperson.Infra.UI.View.Utils.ItemsView.ICellsFactory __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.UI.View.Utils.ItemsView.ICellsFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Android.Views.ViewGroup p0 = global::Java.Lang.Object.GetObject <global::Android.Views.ViewGroup> (native_p0, JniHandleOwnership.DoNotTransfer);
                IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Create(p0, p1));

                return(__ret);
            }