| | |
| | | import cn.com.basic.face.listeners.OkButtonClickedListener;
|
| | |
|
| | | import cn.com.basic.face.widget.BirthdayPickerDialog;
|
| | | import cn.com.basic.face.widget.CountrySelectionPopup;
|
| | | import cn.com.basic.face.widget.SingleSelectionPopup;
|
| | | import cn.com.basic.face.widget.CountrySelectionDialog;
|
| | | import cn.com.basic.face.widget.SingleSelectionDialog;
|
| | | import com.lidroid.xutils.ViewUtils;
|
| | | import com.lidroid.xutils.view.annotation.ViewInject;
|
| | | import com.lidroid.xutils.view.annotation.event.OnClick;
|
| | |
| | |
|
| | | @OnClick(R.id.register_gender)
|
| | | public void selectGender(View view) {
|
| | | SingleSelectionPopup popup = new SingleSelectionPopup(getActivity(),mSexList,"性别");
|
| | | SingleSelectionDialog popup = new SingleSelectionDialog(getActivity(),mSexList,"性别");
|
| | | popup.showAtLocation(mBaseLayout, Gravity.CENTER,0,0);
|
| | | popup.addOkButtonClickedListener(new OkButtonClickedListener() {
|
| | | @Override
|
| | |
| | |
|
| | | @OnClick(R.id.register_country)
|
| | | public void selectCountry(View view) {
|
| | | CountrySelectionPopup countrySelectionPopup = new CountrySelectionPopup(getActivity(),
|
| | | CountrySelectionDialog countrySelectionPopup = new CountrySelectionDialog(getActivity(),
|
| | | countryWordData,countryWordList,countryData);
|
| | | countrySelectionPopup.showAtLocation(mBaseLayout, Gravity.CENTER,0,0);
|
| | | countrySelectionPopup.addOkButtonClickedListener(new OkButtonClickedListener() {
|
| | |
| | |
|
| | | @OnClick(R.id.register_visitor_class)
|
| | | public void selectVisitorType(View view) {
|
| | | SingleSelectionPopup popup1 = new SingleSelectionPopup(getActivity(),mVisitorTypeList,"访客类型");
|
| | | SingleSelectionDialog popup1 = new SingleSelectionDialog(getActivity(),mVisitorTypeList,"访客类型");
|
| | | popup1.showAtLocation(mBaseLayout, Gravity.CENTER,0,0);
|
| | | popup1.addOkButtonClickedListener(new OkButtonClickedListener() {
|
| | | @Override
|
| | |
| | |
|
| | | @OnClick(R.id.register_id_class)
|
| | | public void selectIdentityType(View view) {
|
| | | SingleSelectionPopup popup2 = new SingleSelectionPopup(getActivity(),mCredentialsList,"证件类型");
|
| | | SingleSelectionDialog popup2 = new SingleSelectionDialog(getActivity(),mCredentialsList,"证件类型");
|
| | | popup2.showAtLocation(mBaseLayout, Gravity.CENTER,0,0);
|
| | | popup2.addOkButtonClickedListener(new OkButtonClickedListener() {
|
| | | @Override
|