| | |
| | |
|
| | | import com.bsk.zhangbo.demoforbsk.R;
|
| | | import com.bsk.zhangbo.demoforbsk.adapter.MyWheelAdapter;
|
| | | import com.bsk.zhangbo.demoforbsk.com.bsk.zhangbo.demoforbsk.service.DictionaryMng;
|
| | | import com.bsk.zhangbo.demoforbsk.service.DictionaryMng;
|
| | | import com.bsk.zhangbo.demoforbsk.listeners.OkButtonClickedListener;
|
| | | import com.bsk.zhangbo.demoforbsk.util.CountryPresenter;
|
| | |
|
| | |
| | | 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()));
|
| | |
|