Skip to content

Can i pick country and city without state? #6

Description

@london-tokyo

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()
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions