Bryanx / themed-toggle-button-group

Customisable toggle buttons inside a FlexboxLayout.
MIT License
747 stars 46 forks source link

How can i select some of themed buttons programmatically? #33

Closed mkroy9696 closed 2 years ago

mkroy9696 commented 2 years ago

I have a hobbies list on Edit Profile Activity, so I want to select some buttons programmatically? How can I do this. Please help me... thanks in advance

Bryanx commented 2 years ago

Hi, it's in the readme

buttonGroup.selectButtonWithAnimation(btn)
buttonGroup.selectButton(btn)