docs: private void init(AttributeSet attrs) {
          inflate(getContext(), R.layout.intl_phone_input, this);
  
          /**+
           * Country spinner
           */
          mCountrySpinner = (Spinner) findViewById(R.id.intl_phone_edit__country);
          mCountrySpinnerAdapter = new CountrySpinnerAdapter(getContext());
          mCountrySpinner.setAdapter(mCountrySpinnerAdapter);
  
          mCountries = CountriesFetcher.getCountries(getContext());
          mCountrySpinnerAdapter.addAll(mCountries);
          mCountrySpinner.setOnItemSelectedListener(mCountrySpinnerListener);
  
          setFlagDefaults(attrs);
  
          /**
           * Phone text field
           */
          mPhoneEdit = (EditText) findViewById(R.id.intl_phone_edit__phone);
          mPhoneEdit.addTextChangedListener(mPhoneNumberWatcher);
  
          setDefault();
          setEditTextDefaults(attrs);
      }