We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` if (video.inputType?.equals("radio", false)!!) { /* * Examine if radio button is Checked previously. */ helper.getView(R.id.yesRadio).isChecked = video.inputData?.equals("y", false)!! helper.getView(R.id.noRadio).isChecked = video.inputData?.equals("n", false)!!
val view: RadioGroup = helper.getView<RadioGroup>(R.id.radioGroup) view.setOnCheckedChangeListener(object : RadioGroup.OnCheckedChangeListener { override fun onCheckedChanged(group: RadioGroup?, checkedId: Int) { when (checkedId) { R.id.yesRadio -> { video.inputData = "y" } R.id.noRadio -> { video.inputData = "n" } } } }) }`
when itemview recycles position of checked radioButton change.
The text was updated successfully, but these errors were encountered:
thanks
Sorry, something went wrong.
No branches or pull requests
` if (video.inputType?.equals("radio", false)!!) {
/*
* Examine if radio button is Checked previously.
*/
helper.getView(R.id.yesRadio).isChecked = video.inputData?.equals("y", false)!!
helper.getView(R.id.noRadio).isChecked = video.inputData?.equals("n", false)!!
when itemview recycles position of checked radioButton change.
The text was updated successfully, but these errors were encountered: