-
-
Notifications
You must be signed in to change notification settings - Fork 507
CCP Dialog event listener
Harsh Bhakta edited this page Oct 28, 2017
·
1 revision
You might want to do something specific when the CCP dialog is launched, dismissed or canceled. Once the integration is completed, you can add a listener.
countryCodePicker.setDialogEventsListener(new CountryCodePicker.DialogEventsListener() {
@Override
public void onCcpDialogOpen(Dialog dialog) {
//your code
}
@Override
public void onCcpDialogDismiss(DialogInterface dialogInterface) {
//your code
}
@Override
public void onCcpDialogCancel(DialogInterface dialogInterface) {
//your code
}
});
- How to Integrate into your project
- Full Number Support
- Use as a Country Selector
- Auto detect country
- Auto detect language
- Remember last selection
- Country Preference
- Custom Mater List
- Exclude Countries
- Example phonenumber as hint
- Multi Language Support
- Default Country
- Country Selection Listener
- Dialog events listener
- CCP Theme Customization
- CCP Dialog Theme Customization
- Custom TypeFace
- Read Selected Country
- XML Properties
- Update Guide to v2
- Guide to Add New Language Support
- Guide to add New Country
- Change contry names for local project
- Handle CCP ClickListener Manually
- Custom Dialog Title/Hint/Empty Result ACK
- Flag Emoji Support (BETA)
- Change Log