Releases: Maxr1998/ModernAndroidPreferences
Releases · Maxr1998/ModernAndroidPreferences
Release 1.1.0
- Promote 1.1.0-beta01 to stable, no other changes
Release 1.1.0-beta1
New features
- Make maximum line number for preference titles and summaries configurable through
Preference.Config
Other
- Dependency updates and maintainance
Release 1.1.0-alpha5
Fixes
- Fix crash caused by
StateListAnimator.clone()
missing on some (awful) devices with Android 5 from various OEMs
Release 1.1.0-alpha4
New features
- Add adapter listener that is notified before screen changes (the existing one is notified after screen changes)
- Add option to apply a
stateListAnimator
to preference views
Fixes
- Fix crash in getSavedState for adapter without screens
Other
- Make
subScreen
DSL return the created screen - Category headers and seek bars are now not clickable anymore
- Add tests for adapter saved state and screen change listeners
Release 1.1.0-alpha3
New features
- Reintroduced listener shorthands (
onClick
,onCheckedChange
,onSelectionChange
), marked old deprecated shorthands as error - Added dialog selection listeners with shorthands
Behavior changes
- Now targetting Android 11
- Updated Kotin to 1.4.10
Release 1.1.0-alpha2
New feature
- DSL helpers for choice dialogs
Fix
SingleChoiceDialogPreference
showed wrong summary value
Release 1.1.0-alpha1
New features
- Dialog preferences for value selection (single/multi-choice)
Preference.getStringSet()
helper
Behavior changes
Preference.getX()
helpers don't catch the ClassCastException from SharedPreferences anymorePreference.getString()
: nullable return value instead of default value parameter
Release 1.0
Mostly the same as 1.0-RC2, with minimal refactoring and a + shorthand operator to add preference items to a screen
Release 1.0-RC2
Second stable release candidate
- Updated to Kotlin 1.4
- Deprecated SAM conversion helper functions in favor of native functional interface support (
onSeek {}
now isseekListener = OnSeekListener {}
)
Release 1.0-RC1
First stable release candidate! 🎉
Fixes
- Fix potential memory and context leak if the library was used improperly (e.g. failure to unregister OnScreenChangeListeners)