xsingv/JustifyTextView

出现bug

ggchenyang opened this issue · 0 comments

放在notification的自定义布局中,会出现Exception:提示角标越界。
FATAL EXCEPTION: main
02-25 14:56:01.276 17539-17539/? E/AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=100; index=100
02-25 14:56:01.276 17539-17539/? E/AndroidRuntime: at com.chenyang.test.diytextview.JustifyTextView.arrayTowords(JustifyTextView.java:116)
02-25 14:56:01.276 17539-17539/? E/AndroidRuntime: at com.chenyang.test.diytextview.JustifyTextView.onMeasure(JustifyTextView.java:226)