private void setHint ( ) { if ( mPhoneEdit != null && mSelectedCountry != null && mSelectedCountry . getIso ( ) != null ) { Phonenumber . PhoneNumber phoneNumber = mPhoneUtil . getExampleNumberForType ( mSelectedCountry . getIso ( ) , PhoneNumberUtil . PhoneNumberType . MOBILE ) ; if ( phoneNumber != null ) { mPhoneEdit . setHint ( mPhoneUtil . format ( phoneNumber , PhoneNumberUtil . PhoneNumberFormat . NATIONAL ) ) ; } } }
Set hint number for country