开发者

Extending ListView onTouchListener

开发者 https://www.devze.com 2023-04-09 14:07 出处:网络
I don\'t know if I simply couldn\'t find the class, but I need to do something more with the TouchEvent on a ListView.

I don't know if I simply couldn't find the class, but I need to do something more with the TouchEvent on a ListView.

I tried creating another OnTouchListener but by setting it on the ListView all the other functionalities are gone. I tried finding the old listener and then simply repass th开发者_C百科e touch event to it, but there is no getOnTouchListener method...

How would I accomplish this task? Can I add another touch listener? Can I intercept the event and repass it afterwards?

Thanks !

0

精彩评论

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

关注公众号