MultiLineChoose icon indicating copy to clipboard operation
MultiLineChoose copied to clipboard

android流式布局,多行单选、多选Checkbox,自定义多种样式

Results 2 MultiLineChoose issues
Sort by recently updated
recently updated
newest added

再设置多选的初始值时,我调用了这个方法,发现有些不正常,反编译看到方法是 ``` public void setIndexListItemSelected(List positionList) { if (positionList != null && !positionList.isEmpty() && positionList.size() != 0) { int count = this.getChildCount(); if (positionList.size()

这个lib有绘制bug,造成引用该lib的项目主线程占用cpu异常以致卡顿。 MultiLineChoose的内部类ItemView 有绘制bug。 @Override protected void onDraw(Canvas canvas) { if (!animUpdateDrawable) { updateDrawable(); } super.onDraw(canvas); } 当一旦调用了 updateDrawable();后会触发ItemView 再次绘制调用onDraw,从而进入死循环的不断绘制,界面卡顿。setBackgroundDrawable(drawable);setBackground(drawable);。animUpdateDrawable标志位控制有问题。