-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can i pick country and city without state? #6
Comments
JSON of cities is not completed so sometimes happens that for some
countries or states there is no equivalent city and than you have
exception.
I don't have time to complete JSON files with all data. If you have time
you can update JSONs with data that you need but you have to pay attention
to put right ID.
Viktor Nesic
…On Mon, Jan 20, 2020, 4:15 PM BlackDev ***@***.***> wrote:
When i tap to "Pick country" (for example) i call -
countryPicker?.showDialog(supportFragmentManager)
Than i tap to "Pick city" (for example) i call:
cityPicker?.showDialog(supportFragmentManager)
And i have this issue: java.lang.IllegalArgumentException: No Cities
Found! Did you call build()
This is my onCreate{
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
countryPicker = CountryPicker.Builder().with(this).listener(this).build()
cityPicker = CityPicker.Builder().with(this).listener(this).build()
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6?email_source=notifications&email_token=AD3LL6UMBYKSIJABE6KJ6D3Q6W5XRA5CNFSM4KJFZ2J2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IHMLTFA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD3LL6UU73NWPWTWDHKTBY3Q6W5XRANCNFSM4KJFZ2JQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i tap to "Pick country" (for example) i call - countryPicker?.showDialog(supportFragmentManager)
Than i tap to "Pick city" (for example) i call:
cityPicker?.showDialog(supportFragmentManager)
And i have this issue: java.lang.IllegalArgumentException: No Cities Found! Did you call build()
This is my onCreate{
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
countryPicker = CountryPicker.Builder().with(this).listener(this).build()
cityPicker = CityPicker.Builder().with(this).listener(this).build()
}
The text was updated successfully, but these errors were encountered: