开发者

Android -- how to use onlistitemclick() function when am using a custom list view

Normally when an item is clicked in a开发者_开发知识库n listview, onlistitemclick() would get called.Since I am using the get view function to show three text views and an image in each row of the list. so the onlistitemclick() function is not getting called. anyone knows a work around for this??

Thanks in advance.

Sriram.V


I guess you should set setOnItemClickListener to your listview irrespective of your getview() customisation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜