Open
Description
How I can implement menu item click on java? Which parameter type I should provide to setMenuItemClickListener method
ContextMenuDialogFragment contextMenuDialogFragment = ContextMenuDialogFragment.newInstance(menuParams);
contextMenuDialogFragment.setMenuItemClickListener(???);
He show me the tint:
Required type: Function2
What is it?
If I try to provide this
with implemented: MenuItem.OnMenuItemClickListener
interface, I get such error:
Required type:
Function2
Provided:
OnMenuItemClickListener
Metadata
Metadata
Assignees
Labels
No labels