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

dictionary code refactoring

This commit is contained in:
Nikolay Pultsin 2011-01-15 17:54:36 +00:00
parent 520736b313
commit 7824ad3482
4 changed files with 100 additions and 74 deletions

View file

@ -36,7 +36,7 @@ class DictionaryPreference extends ZLStringListPreference {
super(context, resource, resourceKey);
myOption = DictionaryUtil.dictionaryOption();
final List<PackageInfo> infos = DictionaryUtil.dictionaryInfos();
final List<PackageInfo> infos = DictionaryUtil.dictionaryInfos(context);
final String[] values = new String[infos.size()];
final String[] texts = new String[infos.size()];