如何以编程方式在 RadioGroup 上设置选定索引?
How to set selected index on RadioGroup programmatically?
Let's say there are many options in RadioGroup such as following.
例如:你的答案是...
选项 1、选项 2 ...选项 N
我希望直接 select 一个 RadioButton,而不需要任何检查值。
请分享您的任何经验。
这是我目前使用的代码,但不确定这个是否完美...
Let's say there are many options in RadioGroup such as following.
例如:你的答案是...
选项 1、选项 2 ...选项 N
我希望直接 select 一个 RadioButton,而不需要任何检查值。
请分享您的任何经验。
这是我目前使用的代码,但不确定这个是否完美...