Open ALAZZURRI opened 5 years ago
Hello. I am using this too. And I resolve this problem with:
EditText phoneNUmber = findById.....
//REGISTER FIRST ccp.registerPhoneNumberTextView(phoneNumber); String countryCode = "+"+ccp.getSelectedCountryCode(); //AND you should have code in String value.
Best Regards.
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.rilixtech.Country.getPhoneCode()' on a null object reference at com.rilixtech.CountryCodePicker.getSelectedCountryCode + 658(CountryCodePicker.java:658)