public virtual unsafe void BindView(global::Com.Mikepenz.Materialdrawer.Model.SwitchDrawerItem.ViewHolder p0) { if (id_bindView_Lcom_mikepenz_materialdrawer_model_SwitchDrawerItem_ViewHolder_ == IntPtr.Zero) { id_bindView_Lcom_mikepenz_materialdrawer_model_SwitchDrawerItem_ViewHolder_ = JNIEnv.GetMethodID(class_ref, "bindView", "(Lcom/mikepenz/materialdrawer/model/SwitchDrawerItem$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_SwitchDrawerItem_ViewHolder_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "bindView", "(Lcom/mikepenz/materialdrawer/model/SwitchDrawerItem$ViewHolder;)V"), __args); } } finally { } }
static void n_BindView_Lcom_mikepenz_materialdrawer_model_SwitchDrawerItem_ViewHolder_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Mikepenz.Materialdrawer.Model.SwitchDrawerItem __this = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.SwitchDrawerItem> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mikepenz.Materialdrawer.Model.SwitchDrawerItem.ViewHolder p0 = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Materialdrawer.Model.SwitchDrawerItem.ViewHolder> (native_p0, JniHandleOwnership.DoNotTransfer); __this.BindView(p0); }