tool-suite-X icon indicating copy to clipboard operation
tool-suite-X copied to clipboard

Preferences class has been deprecated in API level 29 - how should it be replaced?

Open maprehensive opened this issue 1 year ago • 5 comments

maprehensive avatar May 17 '23 13:05 maprehensive

What is the proper way to use Material with preferences? If not suitable, what is the replacement appropriate for Android?

maprehensive avatar May 17 '23 13:05 maprehensive

@maprehensive I Just resolved this issue

Redeem-Grimm-Satoshi avatar Jun 23 '23 13:06 Redeem-Grimm-Satoshi

@Redeem-Grimm-Satoshi that's great. Can you provide some details on the fix?

maprehensive avatar Jun 28 '23 08:06 maprehensive

@Redeem-Grimm-Satoshi I just merged changes for the PR, but cannot build. Error:

ERROR:/Users/bengreen/Documents/odk-x/services/services_app/src/main/res/values/styles.xml:6:5-19:13: AAPT: error: resource color/navDrawerSurface (aka org.opendatakit.services:color/navDrawerSurface) not found.

Waylon suggests it might be a file not added to Android Library

maprehensive avatar Jun 28 '23 12:06 maprehensive

@Redeem-Grimm-Satoshi I just merged changes for the PR, but cannot build. Error:

ERROR:/Users/bengreen/Documents/odk-x/services/services_app/src/main/res/values/styles.xml:6:5-19:13: AAPT: error: resource color/navDrawerSurface (aka org.opendatakit.services:color/navDrawerSurface) not found.

Waylon suggests it might be a file not added to Android Library

@maprehensive Yes it is, I sent a PR containing the changes, Once merged you'll pull and everything will work fine

Redeem-Grimm-Satoshi avatar Jul 03 '23 19:07 Redeem-Grimm-Satoshi