onItemLongClickable method

bool onItemLongClickable(
  1. E? item,
  2. int position
)

长按事件可拦截onItemLongClickListeners

Implementation

bool onItemLongClickable(E? item, int position) => true;