經安全檢測,此網站為安全網站,請放心前往原始網址!

android - How to save state of CheckBox after exit? - Stack Overflow

After put date getSharedPreferences, You have to initialize your checkboz state with this data in onCreate, like below. // onCreate SharedPreferences ...

www.google.com.tw

網址安全性掃描由 google 提供