@ SuppressWarnings ( "unused" ) public Phonenumber . PhoneNumber getPhoneNumber ( ) { try { String iso = null ; if ( mSelectedCountry != null ) { iso = mSelectedCountry . getIso ( ) ; } return mPhoneUtil . parse ( mPhoneEdit . getText ( ) . toString ( ) , iso ) ; } catch ( NumberParseException ignored ) { return null ; } }
Get PhoneNumber object