xuxiuxi
2017-03-31 5b8083e272435804e1f625c4cbeecb51962701aa
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/dialog/CountrySelectionDialog.java
@@ -14,18 +14,13 @@
import com.bsk.zhangbo.demoforbsk.R;
import cn.com.basic.face.adapter.MyWheelAdapter;
import cn.com.basic.face.listeners.OkButtonClickedListener;
import cn.com.basic.face.util.CountryPresenter;
import cn.com.basic.face.util.OkButtonClickedListener;
import com.wx.wheelview.widget.WheelView;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
 * Created by Sinoe on 2017/2/28.
 */
public class CountrySelectionDialog extends PopupWindow implements View.OnClickListener, WheelView.OnWheelItemSelectedListener {
    private Context mContext;
@@ -35,12 +30,10 @@
    private HashMap<String, List<String>> countryData;
    private List<String> countryWordList;
    private List<String> countryList;
    private CountryPresenter countryPresenter;
    public CountrySelectionDialog(Context context, String[] countryWordData, List<String> countryWordList, HashMap<String, List<String>> countryData) {
        this.mContext = context;
        countryPresenter = new CountryPresenter(context);
        view = LayoutInflater.from(context).inflate(R.layout.dialog_country, null);
        mWheelViewTitle = (WheelView) view.findViewById(R.id.pop_country_title);
        mWheelViewTitle.setOnWheelItemSelectedListener(this);