Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片不显示 #3

Closed
csh159 opened this issue Oct 22, 2015 · 1 comment
Closed

图片不显示 #3

csh159 opened this issue Oct 22, 2015 · 1 comment

Comments

@csh159
Copy link

csh159 commented Oct 22, 2015

首次打开前面几张图片不显示,不知道为什么,下面3张会显示,好像我用AsyncTask 重写了请求的就都显示,这是为什么?

@zzhoujay
Copy link
Owner

是由于Picasso对Target没有持有强引用造成的,图片一多其他的就会被释放掉,只要我们自己给对他持有一个强引用就行了,具体查看 http://stackoverflow.com/questions/24180805/onbitmaploaded-of-target-object-not-called-on-first-load,今天会修复这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants