Skip to content

v1.0.0 Initial Release

Compare
Choose a tag to compare
@HubbleCommand HubbleCommand released this 05 Jun 13:17
· 32 commits to master since this release

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