AlxGifHelper
AlxGifHelper copied to clipboard
一个自定义GIF播放的管理类,基于github上著名项目android-gif-drawable制作,实现了下载进度提示,第一帧占位显示,磁盘缓存和LRU缓存等功能
异常
Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6419) at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:911) at android.view.View.requestLayout(View.java:17490) at android.view.View.requestLayout(View.java:17490) at android.view.View.requestLayout(View.java:17490) at android.view.View.requestLayout(View.java:17490) at android.view.View.requestLayout(View.java:17490)...