{"action":"created","issue":{"url":"https://api.github.com/repos/square/picasso/issues/954","labels_url":"https://api.github.com/repos/square/picasso/issues/954/labels{/name}","comments_url":"https://api.github.com/repos/square/picasso/issues/954/comments","events_url":"https://api.github.com/repos/square/picasso/issues/954/events","html_url":"https://github.com/square/picasso/issues/954","id":64939851,"number":954,"title":"GridLayoutManager - wrong image loaded when notifyItemChanged() is called.","user":{"login":"gswierczynski","id":3669529,"avatar_url":"https://avatars.githubusercontent.com/u/3669529?v=3","gravatar_id":"","url":"https://api.github.com/users/gswierczynski","html_url":"https://github.com/gswierczynski","followers_url":"https://api.github.com/users/gswierczynski/followers","following_url":"https://api.github.com/users/gswierczynski/following{/other_user}","gists_url":"https://api.github.com/users/gswierczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/gswierczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gswierczynski/subscriptions","organizations_url":"https://api.github.com/users/gswierczynski/orgs","repos_url":"https://api.github.com/users/gswierczynski/repos","events_url":"https://api.github.com/users/gswierczynski/events{/privacy}","received_events_url":"https://api.github.com/users/gswierczynski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-28T12:51:42Z","updated_at":"2015-04-24T18:22:53Z","closed_at":null,"body":"I am not sure if this is Picasso issue, GridLayoutManager issue or my implementation is just flawed (see the sample app).\r\n\r\nThe issue is described on stackoverflow under:\r\nhttp://stackoverflow.com/questions/29311428/recyclerview-with-gridlayoutmanager-and-picasso-showing-wrong-image\r\n\r\n### Sample app:\r\ngit clone https://github.com/gswierczynski/recycler-view-grid-layout-with-picasso.git\r\nTap on an item calls notifyItemChanged with parameter equal to the position of that item.\r\n\r\n### Reproduction:\r\n\r\nRecyclerView with GridLayoutManager (spanCount = 3). List items are CardViews with ImageView inside.\r\n\r\nWhen all the items does not fit the screen calling notifyItemChanged on one item causes more than one calls to onBindViewHolder(). One call is for position from notifyItemChanged others for items not visible on the screen.\r\n\r\n### Issue:\r\n\r\nSometimes the item at position passed to the notiryItemChanged is loaded with an image belonging to an item that is not on the screen (most likely due to recycling of the view holder - although I would assume that if the item remains in place then the passed viewholder would be the same).\r\n\r\nI have found Jake's comment on other issue here about calling load() even if the file/uri is null. Image is loaded on every onBindViewHolder here."},"comment":{"url":"https://api.github.com/repos/square/picasso/issues/comments/96024763","html_url":"https://github.com/square/picasso/issues/954#issuecomment-96024763","issue_url":"https://api.github.com/repos/square/picasso/issues/954","id":96024763,"user":{"login":"gswierczynski","id":3669529,"avatar_url":"https://avatars.githubusercontent.com/u/3669529?v=3","gravatar_id":"","url":"https://api.github.com/users/gswierczynski","html_url":"https://github.com/gswierczynski","followers_url":"https://api.github.com/users/gswierczynski/followers","following_url":"https://api.github.com/users/gswierczynski/following{/other_user}","gists_url":"https://api.github.com/users/gswierczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/gswierczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gswierczynski/subscriptions","organizations_url":"https://api.github.com/users/gswierczynski/orgs","repos_url":"https://api.github.com/users/gswierczynski/repos","events_url":"https://api.github.com/users/gswierczynski/events{/privacy}","received_events_url":"https://api.github.com/users/gswierczynski/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:22:53Z","updated_at":"2015-04-24T18:22:53Z","body":"Any luck reproducing it on your end?"}}