Skip to content

Releases: Maxr1998/ModernAndroidPreferences

Release 0.5.10

19 Jul 10:50
476ab56
Compare
Choose a tag to compare

Fixes

  • Fix equals and hashCode for PreferenceScreen, which resulted in potentially wrong animations earlier

Release 0.5.9

19 Jul 00:37
b2cc66d
Compare
Choose a tag to compare
  • PreferenceAdapter now has stable ids to support animations*

* Since notifyDataSetChanged() is used inside the adapter, it's necessary to call RecylcerView.scheduleLayoutAnimation() after changing screens, e.g. via an OnScreenChangeListener.

Release 0.5.8

19 Jun 22:13
656f8ec
Compare
Choose a tag to compare

New features

  • Support setting an independent summary for when the preference is disabled

Fixes

  • summaryOn for TwoStatePreference now is a CharSequence instead of a String, to also support Spannables - this was an oversight in 0.5.3.

Other

  • Some small code tweaks like rewritten summary resolving for preferences

Release 0.5.7

19 Jun 13:46
86a8f1b
Compare
Choose a tag to compare

Fixes

  • Fix dependency handling for preferences - previously, they didn't work across multiple screens

Release 0.5.6

20 May 20:07
c58c1df
Compare
Choose a tag to compare

Fixes

  • Fix Preference.getBoolean() not returning the default value for non-persistent preferences

Release 0.5.5

26 Apr 12:55
e4498bb
Compare
Choose a tag to compare

New features

  • SeekBarPreference now also supports negative values

Fixes

  • Fix PreferenceScreen not showing badges
  • Fix multiple issues with the SeekbarPreference - please report back if you're still facing any bugs

Release 0.5.4

15 Apr 20:59
f045a0a
Compare
Choose a tag to compare

Fixes

  • Quick fix for a long-existing issue when setting text to an ExpandableTextPreference directly (and not through a resource).

Release 0.5.3

15 Apr 20:16
824b79f
Compare
Choose a tag to compare

New features

  • Text attributes like title, summary and text (for ExpandableTextPreference) now use CharSequence instead of String, to also support Spannables.

Release 0.5.2

13 Apr 17:24
7f8c366
Compare
Choose a tag to compare

New features

  • Add possibility to specify if preference should be shown inside a collapse summary

Fixes

  • It wasn't possible to set attributes (like title or summary) on collapse preference - see 7297693
  • Summaries supplied as a string resource were overridden by the auto-generated one - this is fixed now

Release 0.5.1

12 Apr 21:30
0f84466
Compare
Choose a tag to compare

Fixes

  • The reflection used to enable the tick marks from the AppCompatSeekBar could break apps if they are using ProGuard, this has been fixed by implementing tick mark support inside the custom SeekBar itself - see b1310c3
  • Icon position for SeekBars has been fixed