Skip to content

farhanroy/ComposeCountryCodePicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.