[Android] Managing Preference screens smoothly

If you are planning to implement a PreferenceActivity (preference screen) in your App, i highly recommend you to have a look at this example App made by CommonsWare. Have a look at the EditPreference class and how it handles headers, then the different kind of SharedPreferences (checkboxes, lists, inputs, etc), without needing to elevate complexity introducing additional Fragment classes (Fragments are private classes inside).

Quite an excellent work 🙂

Have a nice coding day!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s