Beispiel #1
0
 @Override
 public void onClick(View v) {
   if (subMenu != null && !subMenu.isShowing()) {
     subMenu.show();
   }
   callback.onMenuItemClicked(this);
 }
Beispiel #2
0
 @Override
 public void onFloatingMenuItemClicked(FloatingMenu menu, FloatingMenuItem item) {
   callback.onSubMenuItemClicked(this, item);
 }