Skip navigation links
A C D G I K P R S 

A

asConsumer() - Method in interface com.f2prateek.rx.preferences2.Preference
An action which stores a new value for this preference.
asObservable() - Method in interface com.f2prateek.rx.preferences2.Preference
Observe changes to this preference.

C

clear() - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
 
com.f2prateek.rx.preferences2 - package com.f2prateek.rx.preferences2
 
create(SharedPreferences) - Static method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create an instance of RxSharedPreferences for preferences.

D

defaultValue() - Method in interface com.f2prateek.rx.preferences2.Preference
The value used if none is stored.
delete() - Method in interface com.f2prateek.rx.preferences2.Preference
Delete the stored value for this preference, if any.
deserialize(String) - Method in interface com.f2prateek.rx.preferences2.Preference.Converter
Deserialize to an instance of T.

G

get() - Method in interface com.f2prateek.rx.preferences2.Preference
Retrieve the current value for this preference.
getBoolean(String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a boolean preference for key.
getBoolean(String, Boolean) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a boolean preference for key with a default of defaultValue.
getEnum(String, T, Class<T>) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create an enum preference for key with a default of defaultValue.
getFloat(String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a float preference for key.
getFloat(String, Float) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a float preference for key with a default of defaultValue.
getInteger(String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create an integer preference for key.
getInteger(String, Integer) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create an integer preference for key with a default of defaultValue.
getLong(String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a long preference for key.
getLong(String, Long) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a long preference for key with a default of defaultValue.
getObject(String, T, Preference.Converter<T>) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a preference for type T for key with a default of defaultValue.
getString(String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a string preference for key.
getString(String, String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a string preference for key with a default of defaultValue.
getStringSet(String) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a string set preference for key.
getStringSet(String, Set<String>) - Method in class com.f2prateek.rx.preferences2.RxSharedPreferences
Create a string set preference for key with a default of defaultValue.

I

isSet() - Method in interface com.f2prateek.rx.preferences2.Preference
Returns true if this preference has a stored value.

K

key() - Method in interface com.f2prateek.rx.preferences2.Preference
The key for which this preference will store and retrieve values.

P

Preference<T> - Interface in com.f2prateek.rx.preferences2
A preference of type T.
Preference.Converter<T> - Interface in com.f2prateek.rx.preferences2
Converts instances of T to be stored and retrieved as Strings in SharedPreferences.

R

RxSharedPreferences - Class in com.f2prateek.rx.preferences2
A factory for reactive Preference objects.

S

serialize(T) - Method in interface com.f2prateek.rx.preferences2.Preference.Converter
Serialize the value to a String.
set(T) - Method in interface com.f2prateek.rx.preferences2.Preference
Change this preference's stored value to value.
A C D G I K P R S 
Skip navigation links