Ejemplo n.º 1
0
        public virtual unsafe void BindView(global::Com.Mikepenz.Materialdrawer.Model.ContainerDrawerItem.ViewHolder p0)
        {
            if (id_bindView_Lcom_mikepenz_materialdrawer_model_ContainerDrawerItem_ViewHolder_ == IntPtr.Zero)
            {
                id_bindView_Lcom_mikepenz_materialdrawer_model_ContainerDrawerItem_ViewHolder_ = JNIEnv.GetMethodID(class_ref, "bindView", "(Lcom/mikepenz/materialdrawer/model/ContainerDrawerItem$ViewHolder;)V");
            }
            try
            {
                JValue *__args = stackalloc JValue[1];
                __args[0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_bindView_Lcom_mikepenz_materialdrawer_model_ContainerDrawerItem_ViewHolder_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "bindView", "(Lcom/mikepenz/materialdrawer/model/ContainerDrawerItem$ViewHolder;)V"), __args);
                }
            }
            finally
            {
            }
        }
Ejemplo n.º 2
0
 static void n_BindView_Lcom_mikepenz_materialdrawer_model_ContainerDrawerItem_ViewHolder_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Mikepenz.Materialdrawer.Model.ContainerDrawerItem            __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.ContainerDrawerItem>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Mikepenz.Materialdrawer.Model.ContainerDrawerItem.ViewHolder p0     = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.ContainerDrawerItem.ViewHolder>(native_p0, JniHandleOwnership.DoNotTransfer);
     __this.BindView(p0);
 }