| | |
| | | } |
| | | |
| | | private void initView() { |
| | | if (UserConfigManage.getInstance().isZh()) { |
| | | viewBinding.bindAreaTv.setText(getText(R.string.home_chinese_mainland)); |
| | | viewBinding.bindAreaNumberTv.setText("+86"); |
| | | } else { |
| | | viewBinding.bindAreaTv.setText(getText(R.string.iraq)); |
| | | viewBinding.bindAreaNumberTv.setText("+964"); |
| | | } |
| | | viewBinding.toolbarTopRl.topTitleTv.setText(R.string.set_change_bind_phone_number); |
| | | viewBinding.toolbarTopRl.topBackLl.setVisibility(View.VISIBLE); |
| | | |
| | |
| | | @Override |
| | | public void onPick(Country country) { |
| | | if (country.flag != 0) |
| | | viewBinding.bindAreaTv.setText(country.name); |
| | | viewBinding.bindAreaTv.setText(country.translate); |
| | | String code = "+" + country.code; |
| | | viewBinding.bindAreaNumberTv.setText(code); |
| | | } |