We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. https://developer.android.com/reference/android/preference/PreferenceManager
Any solutions to this?
The text was updated successfully, but these errors were encountered:
Even though its deprecated, I believe it still works. So ignore the warning and keep coding.
Sorry, something went wrong.
Use with AndroidX is as below
build.gradle
implementation 'androidx.preference:preference:1.1.1'
TinyDB.java
import android.preference.PreferenceManager;
import androidx.preference.PreferenceManager;
No branches or pull requests
This class was deprecated in API level 29.
Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.
https://developer.android.com/reference/android/preference/PreferenceManager
Any solutions to this?
The text was updated successfully, but these errors were encountered: