The two answers before mine are correct - you can use OnItemClickListener
.
It's good to note that the difference between OnItemClickListener
and OnItemSelectedListener
, while sounding subtle, is in fact significant, as item selection and focus are related with the touch mode of your AdapterView
.
By default, in touch mode, there is no selection and focus. You can take a look here for further info on the subject.