場景:針對單個RadioButton。點(diǎn)擊后變Checked弥鹦。再點(diǎn)UnChecked肚逸。多次后發(fā)現(xiàn)setChecked()無效。
參考對比首頁的Tab發(fā)現(xiàn)check另一個RadioButton后彬坏,原來setChecked()無效的RadioButton重新有效朦促。使用RadioGroup的clearCheck()方法把所有的選項(xiàng)都設(shè)為false.
參考對比首頁的Tab發(fā)現(xiàn)check另一個RadioButton后彬坏,原來setChecked()無效的RadioButton重新有效朦促。使用RadioGroup的clearCheck()方法把所有的選項(xiàng)都設(shè)為false.