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
Post a Comment