闪退
Closed this issue · 3 comments
star-andy commented
star-andy commented
/**
* 清理数据至初始状态
*/
private void clear() {
for (int i = 0; i < 3; i++) { // i为"行标"
for (int j = 0; j < 3; j++) { // j为"列标"
if (mPoints[i][j] != null) {
mPoints[i][j].status = Point.POINT_NORMAL_STATUS;
mPoints[i][j].radius = mRadius;
}
}
}
mPressPoints.clear();
mPointAnimators.clear();
isErrorStatus = false;
}
增加空判断,如果View是GONE状态不会走onSizeChanged() 所以不会初始化initPointArray()
sinawangnan7 commented
好的,我测试这个问题~
sinawangnan7 commented
感谢反馈,崩溃性的问题是不能忍受的,该问题已在1.0.2版本修正。