public AnimateDismissAdapter(global::Android.Widget.BaseAdapter p0, global::Com.Nhaarman.Listviewanimations.Itemmanipulation.IOnDismissCallback p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } if (GetType() != typeof(AnimateDismissAdapter)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/widget/BaseAdapter;Lcom/nhaarman/listviewanimations/itemmanipulation/OnDismissCallback;)V", new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/widget/BaseAdapter;Lcom/nhaarman/listviewanimations/itemmanipulation/OnDismissCallback;)V", new JValue(p0), new JValue(p1)); return; } if (id_ctor_Landroid_widget_BaseAdapter_Lcom_nhaarman_listviewanimations_itemmanipulation_OnDismissCallback_ == IntPtr.Zero) { id_ctor_Landroid_widget_BaseAdapter_Lcom_nhaarman_listviewanimations_itemmanipulation_OnDismissCallback_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/widget/BaseAdapter;Lcom/nhaarman/listviewanimations/itemmanipulation/OnDismissCallback;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_widget_BaseAdapter_Lcom_nhaarman_listviewanimations_itemmanipulation_OnDismissCallback_, new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_widget_BaseAdapter_Lcom_nhaarman_listviewanimations_itemmanipulation_OnDismissCallback_, new JValue(p0), new JValue(p1)); }
static void n_OnDismiss_Landroid_widget_AbsListView_arrayI(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Nhaarman.Listviewanimations.Itemmanipulation.IOnDismissCallback __this = global::Java.Lang.Object.GetObject <global::Com.Nhaarman.Listviewanimations.Itemmanipulation.IOnDismissCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Widget.AbsListView p0 = global::Java.Lang.Object.GetObject <global::Android.Widget.AbsListView> (native_p0, JniHandleOwnership.DoNotTransfer); int[] p1 = (int[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(int)); __this.OnDismiss(p0, p1); if (p1 != null) { JNIEnv.CopyArray(p1, native_p1); } }