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 view
s not textview
s 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
Post a Comment