Package-level declarations

Types

Link copied to clipboard
interface Adapter<T>

Stores and retrieves instances of T in SharedPreferences.

Link copied to clipboard

Store and retrieves instances of Boolean in SharedPreferences

Link copied to clipboard

Store and retrieves instances of T converted into a String using converter in SharedPreferences

Link copied to clipboard
class EnumAdapter<T : Enum<T>>(clazz: Class<T>) : Adapter<T>

Stores and retrieves instances of enum T converted into a String in SharedPreferences

Link copied to clipboard

Store and retrieves instances of Float in SharedPreferences

Link copied to clipboard

Store and retrieves instances of Int in SharedPreferences

Link copied to clipboard

Store and retrieves instances of Long in SharedPreferences

Link copied to clipboard
interface Preference<T>

A preference of type T. Instances are created from RxSharedPreferences factories.

Link copied to clipboard

Preference factory class to provide Preference objects used reactive frameworks

Link copied to clipboard

Store and retrieves instances of String in SharedPreferences

Link copied to clipboard

Store and retrieves instances of a collection of String within a Set in SharedPreferences

Functions

Link copied to clipboard

Converts a preference of a nullable type to be an Optional of that same type instead.