onItemClickable method

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

点击事件可拦截onItemClickListeners

Implementation

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