ToggleButton state change programmatically rather than automatically in Android? -


i have created custom class extends togglebutton , override toggle method , not in that. has helped me in having control of switching togglebutton on off. proper way of doing?

i wanted have control of togglebutton switching. mean should go on off based on conditions otherwise should remain in state was.

this way working want know whether correct way of doing or not.

what looking togglebutton.setchecked.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -