java - Clicking on a ListView -


i have listview header , footer. added 2 items class of own extending arrayadapter class. in extended class, have overridden getview function because want views not textviews appear in listview.

on listview, have set onclicklistener.

the problem onclicklistener started when click either on header or on footer, never when click on items.

of course, view returned getview set clickable.

what missing?

do want different when each list element clicked? if so, should programmatically set onclicklistener each of 2 elements added. can post code?


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -