摘要:
项目中要实现滑屏展示图片,并且图片可以放大缩小,使用了ViewPager实现需求,但在缩小图片时保了java.lang.IllegalArgumentException: pointerIndex out of range这个错误,查阅资料发现这个是Android系统的bug,找到了解决办法,... 阅读全文
摘要:
android 是不允许子线程直接更新UI的,如果一定要在子线程直接更新UI就会出现android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy... 阅读全文