public AlertDialog.Builder SetSingleChoiceItems(Android.Widget.IListAdapter adapter, int checkedItem, EventHandler <Android.Content.DialogClickEventArgs> handler) { return(SetSingleChoiceItems(adapter, checkedItem, new IDialogInterfaceOnClickListenerImplementor() { Handler = handler })); }
public AlertDialog.Builder SetAdapter(Android.Widget.IListAdapter adapter, EventHandler <Android.Content.DialogClickEventArgs> handler) { return(SetAdapter(adapter, new IDialogInterfaceOnClickListenerImplementor() { Handler = handler })); }
public virtual void SetAdapter (Android.Widget.IListAdapter adapter) { if (id_setAdapter_Landroid_widget_ListAdapter_ == IntPtr.Zero) id_setAdapter_Landroid_widget_ListAdapter_ = JNIEnv.GetMethodID (class_ref, "setAdapter", "(Landroid/widget/ListAdapter;)V"); if (GetType () == ThresholdType) JNIEnv.CallVoidMethod (Handle, id_setAdapter_Landroid_widget_ListAdapter_, new JValue (adapter)); else JNIEnv.CallNonvirtualVoidMethod (Handle, ThresholdClass, id_setAdapter_Landroid_widget_ListAdapter_, new JValue (adapter)); }