Android Question What's the difference between the State Manager and the PreferencesActivity

Kevin L. Johnson

Member
Licensed User
Longtime User
What's the difference between the State Manager and the PreferencesActivity? Does one replace the other? or are they completely independent of each other? or perhaps they have overlapping functionality?
 

NJDude

Expert
Licensed User
Longtime User
Those are 2 different things, StateManager handles some settings related to your app, like when you rotate the device, it saves the "state" of EditTexts for example so you don't lose their content, the PreferencesActivity creates a standard settings screen for your app.
 
Upvote 0
Top