Skip to content

Releases: Maxr1998/ModernAndroidPreferences

Release 1.1.0

10 Dec 16:09
63bbd16
Compare
Choose a tag to compare
  • Promote 1.1.0-beta01 to stable, no other changes

Release 1.1.0-beta1

30 Nov 20:28
1e65de9
Compare
Choose a tag to compare

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

28 Oct 15:49
6fbb34f
Compare
Choose a tag to compare

Fixes

  • Fix crash caused by StateListAnimator.clone() missing on some (awful) devices with Android 5 from various OEMs

Release 1.1.0-alpha4

02 Oct 21:07
49b34eb
Compare
Choose a tag to compare

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

10 Sep 18:20
d60710d
Compare
Choose a tag to compare

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

08 Sep 20:45
8edeadd
Compare
Choose a tag to compare

New feature

  • DSL helpers for choice dialogs

Fix

  • SingleChoiceDialogPreference showed wrong summary value

Release 1.1.0-alpha1

08 Sep 20:24
f682e4a
Compare
Choose a tag to compare

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 anymore
  • Preference.getString(): nullable return value instead of default value parameter

Release 1.0

07 Sep 21:54
7e4a6ba
Compare
Choose a tag to compare

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

30 Aug 10:55
bfd392c
Compare
Choose a tag to compare

Second stable release candidate

  • Updated to Kotlin 1.4
  • Deprecated SAM conversion helper functions in favor of native functional interface support (onSeek {} now is seekListener = OnSeekListener {})

Release 1.0-RC1

19 Jul 11:30
b816617
Compare
Choose a tag to compare

First stable release candidate! 🎉

Fixes

  • Fix potential memory and context leak if the library was used improperly (e.g. failure to unregister OnScreenChangeListeners)