Exemple #1
0
        public InsertQueue(global::Com.Nhaarman.Listviewanimations.Itemmanipulation.AnimateAdditionAdapter.IInsertable p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            if (GetType() != typeof(InsertQueue))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/nhaarman/listviewanimations/itemmanipulation/AnimateAdditionAdapter$Insertable;)V", new JValue(p0)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/nhaarman/listviewanimations/itemmanipulation/AnimateAdditionAdapter$Insertable;)V", new JValue(p0));
                return;
            }

            if (id_ctor_Lcom_nhaarman_listviewanimations_itemmanipulation_AnimateAdditionAdapter_Insertable_ == IntPtr.Zero)
            {
                id_ctor_Lcom_nhaarman_listviewanimations_itemmanipulation_AnimateAdditionAdapter_Insertable_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/nhaarman/listviewanimations/itemmanipulation/AnimateAdditionAdapter$Insertable;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_nhaarman_listviewanimations_itemmanipulation_AnimateAdditionAdapter_Insertable_, new JValue(p0)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_nhaarman_listviewanimations_itemmanipulation_AnimateAdditionAdapter_Insertable_, new JValue(p0));
        }
Exemple #2
0
 static void n_Add_ILjava_lang_Object_(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1)
 {
     global::Com.Nhaarman.Listviewanimations.Itemmanipulation.AnimateAdditionAdapter.IInsertable __this = global::Java.Lang.Object.GetObject <global::Com.Nhaarman.Listviewanimations.Itemmanipulation.AnimateAdditionAdapter.IInsertable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Object p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.Add(p0, p1);
 }