xuxiuxi
2017-03-28 d5acf96e62637819d1cd55b516dd03e9232e3971
VisitFace/DemoForBsk/app/src/main/java/com/bsk/zhangbo/demoforbsk/widget/CountrySelectionPopup.java
@@ -13,7 +13,7 @@
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;
@@ -37,7 +37,7 @@
    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);
@@ -51,9 +51,9 @@
        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()));