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

如果图片地址错误,设置一个错误显示的位图,会导致onDisplayImage不停重复调用 #33

Open
XiaoSeee opened this issue Sep 27, 2017 · 7 comments

Comments

@XiaoSeee
Copy link

如果图片地址错误,设置一个错误显示的位图,会导致onDisplayImage不停重复调用。
把Demo中的加载图片的这段

Picasso.with(context).load(s).placeholder(R.drawable.ic_default_image).into(imageView);

改成

Picasso.with(context).load(s).error(R.drawable.ic_default_image).into(imageView);

再把图片地址换成一个错误的,就能复现了。

Picasso 和 Glide 都有这种问题。

水平有限不知道什么原因,还希望作者看看

@laobie
Copy link
Owner

laobie commented Sep 27, 2017

等我有空下来我看一下

@OsBelief
Copy link

OsBelief commented Nov 2, 2017

不知道什么原因,NineGridImageView的onLayout一直在调用,
requestLayout() improperly called by android.widget.ImageView{fc0f83e V.ED..... ......ID 0,0-535,535 #7f0e038a app:id/photo_waterfall_cell_item_img} during layout: running second layout pass
看日志是ImageView引起的

@andyboyce
Copy link

遇到相同问题,作者是不是停止维护了!

@BaiShou
Copy link

BaiShou commented Jul 10, 2018

大家有解决办法了吗@laobie

@laobie
Copy link
Owner

laobie commented Jul 11, 2018

遇到问题不自己尝试下解决么?开源就意味着我得为各位伸手党工作是么?除了 issue ,GitHub 还有 pull request.

@cooppor
Copy link

cooppor commented Dec 6, 2018

牛x了

@wenNao
Copy link

wenNao commented Dec 25, 2018

不知道什么原因,NineGridImageView的onLayout一直在调用,
requestLayout() improperly called by android.widget.ImageView{fc0f83e V.ED..... ......ID 0,0-535,535 #7f0e038a app:id/photo_waterfall_cell_item_img} during layout: running second layout pass
看日志是ImageView引起的

老哥 级解决这个问题了吗

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

7 participants