Package-level declarations

Types

Link copied to clipboard
interface Adapter<T>

Stores and retrieves instances of T in SharedPreferences.

Link copied to clipboard
abstract class BaseRxSharedPreferences(sharedPreferences: SharedPreferences)

Abstract factory to create Preference objects used reactive frameworks

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 BaseRxSharedPreferences factories.

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