开发者

Android List adapter with a button

开发者 https://www.devze.com 2023-02-02 06:22 出处:网络
I need to implement a list with a custom list adapter view that contains a button. Once I add the button the onClick is not tri开发者_StackOverflow中文版ggered.

I need to implement a list with a custom list adapter view that contains a button. Once I add the button the onClick is not tri开发者_StackOverflow中文版ggered.

Is there a way to make this work?


The solution is to set the button's android:focusable="false"

0

精彩评论

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