1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00

config speed optimization

This commit is contained in:
Nikolay Pultsin 2014-02-08 14:34:44 +01:00
parent 868bfa8185
commit 0689ac720a
8 changed files with 114 additions and 30 deletions

View file

@ -55,6 +55,14 @@ public class PreferenceActivity extends ZLPreferenceActivity {
@Override
protected void init(Intent intent) {
final Config config = Config.Instance();
config.requestAllValuesForGroup("Style");
config.requestAllValuesForGroup("Options");
config.requestAllValuesForGroup("LookNFeel");
config.requestAllValuesForGroup("Fonts");
config.requestAllValuesForGroup("Files");
config.requestAllValuesForGroup("Scrolling");
config.requestAllValuesForGroup("Colors");
setResult(FBReader.RESULT_REPAINT);
final ViewOptions viewOptions = new ViewOptions();