@Override public void create(SwipeMenu menu) { switch (menu.getViewType()) { case XiuInfo.TYPE_DEFAULT: break; case XiuInfo.TYPE_MODIFIABLE: createModifiableMenu(menu); break; case 2: createModifiableTopMenu(menu); break; } }
@Override public boolean onMenuItemClick(final int position, final SwipeMenu menu, final int index) { switch (menu.getViewType()) { case XiuInfo.TYPE_DEFAULT: break; case XiuInfo.TYPE_MODIFIABLE: modifiableMenuClick(position, index); break; case 2: topMenuClick(position); break; } return false; }