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

Line ending issue with Mercurial or Visual Studio -

java - Jtable duplicate Rows -

java - Run a .jar on Heroku -