I have a ListView
in which each List item has a Spinner
. I have successfully added an OnItemSelectedListener
to each spinner by implementing OnItemSelectedListener
in the Activity
and adding it in the GetView()
of the adapter.
The problem is, I also have to implement OnItemClickListener
for the ListView
in the Activity
. I have done that, but the event is not getting fired for the Item Click on normal list items. But, it is getting fired for the list section headers(which do not have the spinners).
How can I trigger the event for the List items as well?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…