Handle two radio buttons in a table layout
In a table layout, there are two radio buttons in two rows. Is there any way to tie them as a group (as in radio group)? That means, user can check only one radio button at a time.
I tried to handle the logic 开发者_高级运维at the event invocation using listener interfaces.
Any thoughts on a better way around?
Thanks in advance!
Implement setOnCheckedChangeListener(listener) on the radio buttons. When you get call in one radio button then uncheck other radio buttons.....
精彩评论