在android系统取消选中单选按钮 [英] Unchecking Radio button in android

查看:1259
本文介绍了在android系统取消选中单选按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我正在开发Android中的测验基于应用程序,我已经使用了单选按钮的选项时,它有一个探索和4个选项是和2个按钮回到previous任务和下一个任务。我的追求一次打开了第一时间的所有单选按钮将被取消选中,并回答了第一个任务后说,他回答第三个任务并进入下一个任务,然后,单选按钮会在同一第三选项的应用程序(但此选项将其他城市)我想这一切的单选按钮来取消选中,当用户进入下一个问题每个人time.Can帮助我走出this..Thank你提前

Hello everyone i am developing an quiz based app in android and i have used the radio buttons as the options it has one quest and 4 options for that and 2 buttons to go back to previous quest and next quest. My quest once opens the app for the 1st time all the radio buttons will be unchecked and after answering the 1st quest say he answers 3rd quest and goes to next quest then the radio button will be in the same 3 rd option(but the option will change) i wanted it all the radio buttons to be unchecked when the user goes to next question every time.Can anyone help me out with this..Thank you in advance

推荐答案

清除您的RadioButtonGroup ....

clear your radioButtonGroup....

radioButtonGroup.clearCheck();

这篇关于在android系统取消选中单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆