Android Preferences defined through Kotlin DSL, shown in a RecyclerView
APACHE-2.0 License
Bot releases are visible (Hide)
Int
keys for singleChoice
preferences. While this is API-compatible for the DSL API and (mostly) for the general API, advanced usage might face some breaking changes.Full Changelog: https://github.com/Maxr1998/ModernAndroidPreferences/compare/2.4.0-beta1...2.4.0-beta2
Published by Maxr1998 about 1 year ago
PreferencesAdapter.loadSavedState()
where the restore process would continue after a bogus state entryPreference.getString(String)
and DialogPreference.onStop()
were finally removed – potentially breaking change
DEFAULT_RES_ID
constant which was exposed to the API surface accidentallyFull Changelog: https://github.com/Maxr1998/ModernAndroidPreferences/compare/2.3.2...2.4.0-beta1
Published by Maxr1998 almost 2 years ago
Published by Maxr1998 over 2 years ago
This is a simple maintenance release with just dependency updates, notably Kotlin 1.7.0.
Full Changelog: https://github.com/Maxr1998/ModernAndroidPreferences/compare/2.3.0...2.3.1
Published by Maxr1998 almost 3 years ago
mapAccentTextColor
attribute in a theme - by default, it still uses colorAccent
from AppCompatPublished by Maxr1998 almost 3 years ago
Published by Maxr1998 almost 3 years ago
Preference.Config
Published by Maxr1998 over 3 years ago
viewStart
text alignment for summary 4491211419ec5ce385fd49fc67ec4a2b3aa7ee4d, by @8bitPitPublished by Maxr1998 over 3 years ago
The library is now available on Maven Central as de.maxr1998:modernandroidpreferences
.
See the README for more information!
Published by Maxr1998 almost 4 years ago
EditTextPreference
that allows free-form text input in a dialogDialogPreference
now uses the AlertDialog from AppCompatPublished by Maxr1998 almost 4 years ago
Published by Maxr1998 almost 4 years ago
Preference.Config
Published by Maxr1998 almost 4 years ago
StateListAnimator.clone()
missing on some (awful) devices with Android 5 from various OEMsPublished by Maxr1998 about 4 years ago
stateListAnimator
to preference viewssubScreen
DSL return the created screenPublished by Maxr1998 about 4 years ago
onClick
, onCheckedChange
, onSelectionChange
), marked old deprecated shorthands as errorPublished by Maxr1998 about 4 years ago
SingleChoiceDialogPreference
showed wrong summary valuePublished by Maxr1998 about 4 years ago
Preference.getStringSet()
helperPreference.getX()
helpers don't catch the ClassCastException from SharedPreferences anymorePreference.getString()
: nullable return value instead of default value parameterPublished by Maxr1998 about 4 years ago
Mostly the same as 1.0-RC2, with minimal refactoring and a + shorthand operator to add preference items to a screen
Published by Maxr1998 about 4 years ago
Second stable release candidate
onSeek {}
now is seekListener = OnSeekListener {}
)Published by Maxr1998 over 4 years ago
First stable release candidate! 🎉