Skip to content

Releases: HubbleCommand/preftils

v1.3.1 better defaults support

22 Sep 08:04
Compare
Choose a tag to compare

Actually forgot to INCLUDE the appropriate commits for additional default support in the initial 1.3.1 release.

v1.3.0 improved get default support

21 Sep 18:50
Compare
Choose a tag to compare
  • Can now set default return value when fetching preferences, instead of only being able to use the default value set in the Preference

v1.2.2 Minor upgrade

20 Jul 09:20
Compare
Choose a tag to compare
  • upgrade AGP 8.5.0 -> 8.5.1
  • junit 1.1.5 -> 1.2.1
  • espresso-core 3.5.1 -> 3.6.1

v1.2.1 Minor upgrade

15 Jun 19:16
Compare
Choose a tag to compare
  • Upgrade Android Gradle Plugin from 8.4.1 to 8.5.0
  • Downgrade Java SDK version from 21 down to 17
  • Clarify some things in the README

v1.2.0 Serialization + Java support

11 Jun 20:05
Compare
Choose a tag to compare
  • Removed ICodable interface (replaced by serialization support)

v1.1.0 Custom type support with ICodable

05 Jun 18:19
Compare
Choose a tag to compare

Features

  • ICodable: new interface that can be used with this package's SharedPreferences extension methods, allowing you to use your custom classes with SharedPreferences with ease

v1.0.0 Initial Release

05 Jun 13:17
Compare
Choose a tag to compare

Re-release of Preftils package, starting at v1.0.0.

Previously had V1.0.0, V1.0.1, V1.0.2, V1.0.3,and V1.0.4, however only the last one worked. The first three versions had issues with JitPack.

Features

Added Preference data class to facilitate the clean definition of Android SharedPreferences.

Two new helper methods:

  • SharedPreferences.get(preference: Preference<T>): easily retrieve a shared preferences value in a type-safe way
  • SharedPreferences.Editor.put(preference: Preference<T>, value: T): easily set a shared preferences value in a type-safe way