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