// 绑定监听
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
Fruit f = fruitList.get(position);
Toast.makeText(MainActivity.this, id + "|" +f.getName() , Toast.LENGTH_LONG).show();
}
});