Compartir a través de


RadioGroup.SetOnCheckedChangeListener Method

Definition

Register a callback to be invoked when the checked radio button changes in this group.

[Android.Runtime.Register("setOnCheckedChangeListener", "(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V", "GetSetOnCheckedChangeListener_Landroid_widget_RadioGroup_OnCheckedChangeListener_Handler")]
public virtual void SetOnCheckedChangeListener (Android.Widget.RadioGroup.IOnCheckedChangeListener? listener);
[<Android.Runtime.Register("setOnCheckedChangeListener", "(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V", "GetSetOnCheckedChangeListener_Landroid_widget_RadioGroup_OnCheckedChangeListener_Handler")>]
abstract member SetOnCheckedChangeListener : Android.Widget.RadioGroup.IOnCheckedChangeListener -> unit
override this.SetOnCheckedChangeListener : Android.Widget.RadioGroup.IOnCheckedChangeListener -> unit

Parameters

listener
RadioGroup.IOnCheckedChangeListener

the callback to call on checked state change

Attributes

Remarks

Java documentation for android.widget.RadioGroup.setOnCheckedChangeListener(android.widget.OnCheckedChangeListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to