I am writing an Android app with preferences.
I have minSdkVersion="7" and android:targetSdkVersion="17"
Should I use PreferenceActivity or PreferenceFragment or maybe together to make it work on android from 2.1 to 4.2? When I use PreferenceActivity Eclipse tells me The method addPreferencesFromResource(int) from the type PreferenceActivity is deprecated
I am writing an Android app with preferences. I have minSdkVersion=7 and android:targetSdkVersion=17 Should
Share
You can use deprecated methods. It’s only warning. If you want, you can find actual method in android documentation but this isn’t good approach, because this method can not run on older devices. I hope I helped