Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bbenetskyy/XamarinCountryPicker

Xamarin.Forms Country Picker
https://github.com/bbenetskyy/XamarinCountryPicker

Last synced: 29 days ago
JSON representation

Xamarin.Forms Country Picker

Awesome Lists containing this project

README

        

# Xamarin.Forms Country Picker for Android & iOS

![image](https://user-images.githubusercontent.com/8330262/113513993-7365f380-956c-11eb-829c-973202237f16.png)

## What are there?

* All available countries. Not hardcoded - all gets generic.
* SVG for each country from `ttps://hatscripts.github.io/circle-flags`.
* Country codes also not hardcoded, all gets from NuGet via ISO Region Name.
* Built-in Search by Country Name.
* Beautiful UI with appearing animation.
* Easy to integrate into any Xamarin.Forms application - just copy required files and be happy 😇.

## Used NuGet Packages for Solution:

| NuGet Name | Description |
| ----------- | ----------- |
| Rg.Plugins.Popup | Used to display pop-ups |
| Xamarin.Forms.PancakeView | Used for round some corners |
| libphonenumber-csharp | Used to obtain the country code number |
| Xamarin.FFImageLoading.Svg.Forms | Used to display SVG images from the Internet |

## Project Sctructure:

Example application done on default Xamarin Shell template and most important part located at those folders:

![image](https://user-images.githubusercontent.com/8330262/113513710-52e96980-956b-11eb-9049-ea8ebc80293e.png)

You need to copy that files into your project. Also, we have two Custom Renderers in Android and iOS project which need to be also copied:

![image](https://user-images.githubusercontent.com/8330262/113513806-a8257b00-956b-11eb-98c5-0b85e400509e.png)

## More Details at blog post: [Xamarin.Forms Country Picker with Rg.Plugins.Popup](https://bit.ly/31NS4YV)