{"action":"created","issue":{"url":"https://api.github.com/repos/laobie/NineGridImageView/issues/33","repository_url":"https://api.github.com/repos/laobie/NineGridImageView","labels_url":"https://api.github.com/repos/laobie/NineGridImageView/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/laobie/NineGridImageView/issues/33/comments","events_url":"https://api.github.com/repos/laobie/NineGridImageView/issues/33/events","html_url":"https://github.com/laobie/NineGridImageView/issues/33","id":260849575,"node_id":"MDU6SXNzdWUyNjA4NDk1NzU=","number":33,"title":"如果图片地址错误，设置一个错误显示的位图，会导致```onDisplayImage```不停重复调用","user":{"login":"XiaoSeee","id":4002654,"node_id":"MDQ6VXNlcjQwMDI2NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4002654?v=4","gravatar_id":"","url":"https://api.github.com/users/XiaoSeee","html_url":"https://github.com/XiaoSeee","followers_url":"https://api.github.com/users/XiaoSeee/followers","following_url":"https://api.github.com/users/XiaoSeee/following{/other_user}","gists_url":"https://api.github.com/users/XiaoSeee/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaoSeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaoSeee/subscriptions","organizations_url":"https://api.github.com/users/XiaoSeee/orgs","repos_url":"https://api.github.com/users/XiaoSeee/repos","events_url":"https://api.github.com/users/XiaoSeee/events{/privacy}","received_events_url":"https://api.github.com/users/XiaoSeee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-27T05:18:22Z","updated_at":"2018-12-25T06:02:22Z","closed_at":null,"author_association":"NONE","body":"如果图片地址错误，设置一个错误显示的位图，会导致```onDisplayImage```不停重复调用。\r\n把Demo中的加载图片的这段\r\n``` java\r\nPicasso.with(context).load(s).placeholder(R.drawable.ic_default_image).into(imageView);\r\n```\r\n改成\r\n``` java\r\nPicasso.with(context).load(s).error(R.drawable.ic_default_image).into(imageView);\r\n```\r\n再把图片地址换成一个错误的，就能复现了。\r\n\r\nPicasso 和 Glide 都有这种问题。\r\n\r\n水平有限不知道什么原因，还希望作者看看"},"comment":{"url":"https://api.github.com/repos/laobie/NineGridImageView/issues/comments/449807405","html_url":"https://github.com/laobie/NineGridImageView/issues/33#issuecomment-449807405","issue_url":"https://api.github.com/repos/laobie/NineGridImageView/issues/33","id":449807405,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTgwNzQwNQ==","user":{"login":"wenNao","id":18674922,"node_id":"MDQ6VXNlcjE4Njc0OTIy","avatar_url":"https://avatars2.githubusercontent.com/u/18674922?v=4","gravatar_id":"","url":"https://api.github.com/users/wenNao","html_url":"https://github.com/wenNao","followers_url":"https://api.github.com/users/wenNao/followers","following_url":"https://api.github.com/users/wenNao/following{/other_user}","gists_url":"https://api.github.com/users/wenNao/gists{/gist_id}","starred_url":"https://api.github.com/users/wenNao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenNao/subscriptions","organizations_url":"https://api.github.com/users/wenNao/orgs","repos_url":"https://api.github.com/users/wenNao/repos","events_url":"https://api.github.com/users/wenNao/events{/privacy}","received_events_url":"https://api.github.com/users/wenNao/received_events","type":"User","site_admin":false},"created_at":"2018-12-25T06:02:22Z","updated_at":"2018-12-25T06:02:22Z","author_association":"NONE","body":"> \r\n> \r\n> 不知道什么原因，NineGridImageView的onLayout一直在调用，\r\n> 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\r\n> 看日志是ImageView引起的\r\n\r\n老哥  级解决这个问题了吗"}}
{"actor":{"display_login":"wenNao"}}