开发者

Custom listview CheckableRelativeLayout is setChecked(false) on repaint

I have made a class CheckableRelativeLayout that extends RelativeLayout and implements Checkable. It is a custom listview that has the ability to check listitems, in my case radio buttons.

I override the setChecked-me开发者_如何学JAVAthod and I find that it gets called with a false value every time my view is repainted.

What I want to do is call setChecked(true); on the first item in my list but when the view is repainted my call makes no difference.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜