-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Description
Please stick to the Java / Android naming conventions. In this case, it would be good to rename the call back interface:
public interface OnRibbonMenuSelectedListener {
public void onRibbonMenuItemClick(View item);
}
- Class name starts with an upper-case letter
- Class is a listener (as for instance the DialogInterface.OnClickListener)
- Method name starts with a lower case-letter (and "on" to denote an event)
- We pass the complete view if possible, not just the ID. That way you can store data within the view if needed (in the view tag for instance).
Metadata
Metadata
Assignees
Labels
No labels