Android : Shared preferences inside tabhost not working
问题 I have a tabhost with three activities and I want to save the pressed state of the buttons of each activity So now How can I save the pressed state of each button in all three child activities so that when I move from one activity to the other the button pressed state will be reflected on moving back. first activity -> all 4 buttons pressed -> go to 2nd activity -> come back to first activity -> all buttons in first activity should be in pressed state When I go to second child tab and come to