Exemple #1
0
 @Override
 public void onClick(View v) {
   if (subMenu != null && !subMenu.isShowing()) {
     subMenu.show();
   }
   callback.onMenuItemClicked(this);
 }
Exemple #2
0
 public void setSubMenu(FloatingMenu subMenu) {
   this.subMenu = subMenu;
   subMenu.setCallback(this);
 }