Skip to content

Error Callback #186

@hbb20

Description

@hbb20

@hbb20
ccp.setOnCountryChangeListener(new CountryCodePicker.OnCountryChangeListener() { @OverRide public void onCountrySelected() { Toast.makeText(PhoneNumberOtpActivity.this, "This is from OnCountryChangeListener. \n Country updated to " + ccp.getSelectedCountryName() + "(" + ccp.getSelectedCountryCodeWithPlus() + ")", Toast.LENGTH_SHORT).show(); } });

setOnCountryChangeListener will be called when it's autodetection executed/or failed?

onCountrySelected(Error e) will awesome we are getting error use custom other logic to detect country!

suggested by @LOG-TAG

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