How to know whether user has changed the state of toggle button?
<p>I have ten toggle button .I want to save the states of 5 buttons when clicking the home button.But I want to save it only if the user has made a change in any of the buttons state.Is there any way to know the change in states without using setOnClickListner.</p>
