Create Country List with Flags & ISD Codes

Hi,

How can we create country code list with ISD codes& Flag images as shown in attached image.

Kindly guide.

Thanks

You can put the Listview Image & Text in a custom layout dialog. Maybe that works

Thanks for reply.

Whether any extension available or I have to create this list manually by adding country flag images & ISD codes or any other idea?

Maybe you can convert some JSON code into an array and then with foreach fill the list

1 Like

Thanks for the idea.

I have got some hints by googling but don’t know coding too much. Please refer below links and if possible just give some example of code to integrate this feature in List view control.

https://restcountries.eu/
https://restcountries.eu/rest/v2/callingcode/91 && for India

I found this list

https://gist.githubusercontent.com/Goles/3196253/raw/9ca4e7e62ea5ad935bb3580dc0a07d9df033b451/CountryCodes.json

This list don’t includes the flag images but I also want flag images along with country codes in the list.

However, I will try to create this list by using json code and get back here if I have any further query.

Do it like this then

https://www.countryflags.io/nl/flat/64.png

image

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.