-
public class EpubPreferences.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static EpubPreferences.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final EpubPreferencesfromLegacyEpubSettings(Context context, String sharedPreferencesName, List<String> fontFamilies)Loads the preferences from the legacy EPUB settings stored in the SharedPreferences with given sharedPreferencesName. -
-
Method Detail
-
fromLegacyEpubSettings
final EpubPreferences fromLegacyEpubSettings(Context context, String sharedPreferencesName, List<String> fontFamilies)
Loads the preferences from the legacy EPUB settings stored in the SharedPreferences with given sharedPreferencesName.
This can be used to migrate the legacy settings to the new EpubPreferences format.
If you changed the
fontFamilyValuesin the original Test AppUserSettings, pass it to fontFamilies to migrate the font family properly.
-
-
-
-