转载自 http://blog.csdn.net/a940659387/article/details/50555327
解决办法 在使用Glide的那段代码加是否在主线程判断
- 1
- 2
- 3
- 4
- 5
- 6
- 1
- 2
- 3
- 4
- 5
- 6
在onDestory加
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 1
- 2
- 3
- 4
- 5
- 6
- 7
并且所有的this 都要写成getApplicationContext //这个主要针对于在子线程使用Glide
问题解决。
转载自 http://blog.csdn.net/a940659387/article/details/50555327
解决办法 在使用Glide的那段代码加是否在主线程判断
在onDestory加
并且所有的this 都要写成getApplicationContext //这个主要针对于在子线程使用Glide
问题解决。