-
-
Notifications
You must be signed in to change notification settings - Fork 507
Handle CCP ClickListener Manually
Harsh B. Bhakta edited this page Oct 12, 2018
·
1 revision
There are some scenarios where developers wants to handle ccp click manually. Option to override clickListener was introduced in v2.2.3.
ccp.overrideClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//your code here.....
//using following code you can launch
//ccp country selection dialog manually (if required)
// ccp.launchCountrySelectionDialog();
}
});
ccp.overrideClickListener(null);
- 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