Skip to content

Releases: HubbleCommand/preftils

v1.3.1 better defaults support

Choose a tag to compare

@HubbleCommand HubbleCommand released this 22 Sep 08:04

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

Choose a tag to compare

@HubbleCommand HubbleCommand released this 21 Sep 18:50
  • 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

Choose a tag to compare

@HubbleCommand HubbleCommand released this 20 Jul 09:20
  • 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

Choose a tag to compare

@HubbleCommand HubbleCommand released this 15 Jun 19:16
  • 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

Choose a tag to compare

@HubbleCommand HubbleCommand released this 11 Jun 20:05
  • Removed ICodable interface (replaced by serialization support)

v1.1.0 Custom type support with ICodable

Choose a tag to compare

@HubbleCommand HubbleCommand released this 05 Jun 18:19

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

Choose a tag to compare

@HubbleCommand HubbleCommand released this 05 Jun 13:17

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