how to save togglebutton state using shared preferences [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . how to let this toggle button state to be saved and used in all my activities using shared preferences, I put the shared preferences code but this one don't work so is there something i missed or this code is fault this is the new code and the whole class code please check it, maybe something effect the code