다음을 통해 공유


RemoteViews.SetRadioGroupChecked(Int32, Int32) Method

Definition

Equivalent to calling android.widget.RadioGroup#check(int).

[Android.Runtime.Register("setRadioGroupChecked", "(II)V", "GetSetRadioGroupChecked_IIHandler", ApiSince=31)]
public virtual void SetRadioGroupChecked (int viewId, int checkedId);
[<Android.Runtime.Register("setRadioGroupChecked", "(II)V", "GetSetRadioGroupChecked_IIHandler", ApiSince=31)>]
abstract member SetRadioGroupChecked : int * int -> unit
override this.SetRadioGroupChecked : int * int -> unit

Parameters

viewId
Int32

The id of the view whose property to set.

checkedId
Int32

The unique id of the radio button to select in the group.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setRadioGroupChecked(int, int).

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