| | |
| | | private List<String> countryList;
|
| | | private CountryPresenter countryPresenter;
|
| | |
|
| | | public CountrySelectionPopup(Context context) {
|
| | | public CountrySelectionPopup(Context context, String[] countryWordData, List<String> countryWordList, HashMap<String, List<String>> countryData) {
|
| | |
|
| | | this.mContext = context;
|
| | | countryPresenter = new CountryPresenter(context);
|
| | |
| | | mTvCancel.setOnClickListener(this);
|
| | | mTvConfirm.setOnClickListener(this);
|
| | |
|
| | | String[] countryWordData = DictionaryMng.countryWordData;
|
| | | countryWordList = DictionaryMng.countryWordList;
|
| | | countryData = DictionaryMng.countryData;
|
| | | //String[] countryWordData = DictionaryMng.countryWordData;
|
| | | this.countryWordList = countryWordList;//DictionaryMng.countryWordList;
|
| | | this.countryData = countryData;//DictionaryMng.countryData;
|
| | |
|
| | | countryList = countryData.get(countryWordList.get(mWheelViewTitle.getSelection()));
|
| | |
|