/ComposeCountryCodePicker

🚩 Country code picker built with Jetpack Compose

Primary LanguageKotlinApache License 2.0Apache-2.0

Compose Country Code

Jitpack GitHub issues GitHub forks GitHub stars GitHub license

Country code picker for Jetpack Compose.

How to add in your project

In the build.gradle add maven central repository

repositories {
    maven { url 'https://jitpack.io' }
}

Then, add library at app/build.gradle with following code

implementation ' implementation 'com.github farhanroy:ComposeCountryCodePicker:Tag'

How to use ?

CountryCodeDialog(pickedCountry = { 
    Log.d("", it.name) // picked contry name
})

Preview

License

 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.