ceryle / RadioRealButton

A custom radio button for Android API 12+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deselect Bug

MeinLieberScholli opened this issue · comments

Hi,

I have one Button inside the ButtonGroup. Deselection is disabled.
If I click it for a second time, the checked state is set to false (Line 515 of RadioRealButtonGroup).
Afterwards, a programmatical deselection is not possible because of the state change...

A fix would be to add the condition "buttonIn != buttonOut" to the if branch in Line 514.

Cheers, Arty.