可以討論一下listener到底怎麼放比較好XD, 我看過三種作法:

1. 像你一樣放成member var
2. class implement OnItemClickListener, override onItemClick
3. in place (view.setOnItemClickListener(new OnItemClickListener(){...}))