开发者

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

开发者 https://www.devze.com 2023-03-31 04:22 出处:网络
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 lis

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

精彩评论

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