Hi I designed a custom toolbar to replace the action bar with a popup menu, using the hints from
how to save menuitem visibility state through sharedpreferences?
and
Checkbox item state on menu android
and
The most effective way is to store the state in shared preferences as in the stackoverflow answers.
My question is: How do I keep the checked option selected even after restarting my android?
Aucun commentaire:
Enregistrer un commentaire