It should be onItemLongClickListener rather than onLongClickListener