Skip to content
New issue

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

non-x Preference is deprecated #236

Open
Xavron opened this issue Jun 7, 2024 · 0 comments
Open

non-x Preference is deprecated #236

Xavron opened this issue Jun 7, 2024 · 0 comments

Comments

@Xavron
Copy link

Xavron commented Jun 7, 2024

The problem

Class Preference is deprecated. This has a lot of annoying marks filling up the screen.

Can just switch to androidx (with a few quick fixes to do past the code changes below) or whatever else as desired.

eg...

implementation 'androidx.preference:preference:1.2.1'

import androidx.preference.Preference;
import androidx.preference.CheckBoxPreference;
import androidx.preference.EditTextPreference;
import androidx.preference.ListPreference;
import androidx.preference.MultiSelectListPreference;
import androidx.preference.PreferenceManager;
import androidx.preference.PreferenceScreen;
import androidx.preference.TwoStatePreference;

Possibilities

  • Androidx changes are fully implemented. This is be used for the pull request.

  • Can of course fully rework the UI layout to something completely different and have it look very much the same.

Edit: Pull request created #248 . If it passes, can close this and #247 (if that also passes).

@Xavron Xavron changed the title Preference is deprecated non-x Preference is deprecated Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant