mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
SlovoEd integration: we support 780 SlovoEd dictionaries
Conflicts: src/org/geometerplus/android/fbreader/FBReader.java
This commit is contained in:
parent
42f6b51fc6
commit
1783b9ad7a
9 changed files with 4093 additions and 181 deletions
|
@ -26,17 +26,15 @@ import android.content.Context;
|
|||
import org.geometerplus.zlibrary.core.options.ZLStringOption;
|
||||
import org.geometerplus.zlibrary.core.resources.ZLResource;
|
||||
|
||||
import org.geometerplus.android.fbreader.DictionaryUtil;
|
||||
import org.geometerplus.android.fbreader.PackageInfo;
|
||||
|
||||
class DictionaryPreference extends ZLStringListPreference {
|
||||
private final ZLStringOption myOption;
|
||||
|
||||
DictionaryPreference(Context context, ZLResource resource, String resourceKey, ZLStringOption dictionaryOption) {
|
||||
DictionaryPreference(Context context, ZLResource resource, String resourceKey, ZLStringOption dictionaryOption, List<PackageInfo> infos) {
|
||||
super(context, resource, resourceKey);
|
||||
|
||||
myOption = dictionaryOption;
|
||||
final List<PackageInfo> infos = DictionaryUtil.dictionaryInfos(context);
|
||||
|
||||
final String[] values = new String[infos.size()];
|
||||
final String[] texts = new String[infos.size()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue