whenever I try to access countryCodePicker.imageViewFlag inside countryCodePicker.setOnCountryChangeListener, it seems like the imageViewFlag is always null or it has no drawable ? is there any other way i can access the flag drawable for a selected country ?
What im trying to achieve : on select of a location from the dialog, get the flag resource so that i can show the flag