开发者

Customize checked items in ListView

开发者 https://www.devze.com 2023-04-06 12:43 出处:网络
I have 开发者_开发问答a list view with black text items with single choice mode. I would like the checked item to be red.

I have 开发者_开发问答a list view with black text items with single choice mode. I would like the checked item to be red. Is there any straightforward way to do this, or do I need to listen for item click callbacks, change the colors manually, etc.?

Thanks


There's nothing that will "automatically" change the background of an entire listview item based on a checkbox, so you'll pretty much have to handle the event.

0

精彩评论

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