user2144013
user2144013

Reputation: 35

How to correct deprecated preference methods?

I have those three scratched in my eclipse and it's written they are deprecated. English is not my mother tongue and I can't really get what they mean and how I can correct it. Any hints?

    preferenceManager = getPreferenceManager(); ...
    addPreferencesFromResource(R.xml.preferences);
    Preference aboutItem = findPreference("about");

Upvotes: 1

Views: 201

Answers (1)

Nima
Nima

Reputation: 6573

One easy way to deal with it is to use UnifiedPreference library. another way is to write your own fragment/activity that stores and retrieves preferences.

Upvotes: 2

Related Questions