@Override
public boolean onItemLongClick(AdapterView<?> parent, View view,
int position, long id) {
//your code
return true;
}
return true 就不会执行click了
防止执行完longclick 再执行click