You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then android studio complains ListPreferenceDefaults is internal and can not be used. So how do I keep the item while I can still use the default item if not provided? Or am I doing wrong?
Thx in advance.
The text was updated successfully, but these errors were encountered:
I want to create a custom wrapper for listPreference
That's indeed not directly supported right now if you want to keep the defaults. That being said, you can make a copy of the defaults, which isn't too long anyway.
I am new to jetpack compose so I am unsure if I am doing this properly.
I want to create a custom wrapper for listPreference. So I do the following:
Then android studio complains
ListPreferenceDefaults
is internal and can not be used. So how do I keep theitem
while I can still use the default item if not provided? Or am I doing wrong?Thx in advance.
The text was updated successfully, but these errors were encountered: