public interface PrefRepository<T extends PreferenceItem> {
void store (String key, T item);
T restore (String key);
}
public interface PrefRepository2 {
void storeToken (Token item);
Token restoreToken ();
void storeRefresh (Refresh item);
Refresh restoreRefresh ();
void storeCurrencyList (CurrencyList item);
CurrencyList restoreCurrencyList ();
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.