{"action":"closed","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/670","labels_url":"https://api.github.com/repos/bumptech/glide/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/670/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/670/events","html_url":"https://github.com/bumptech/glide/issues/670","id":110400793,"number":670,"title":"Image disappears after setColorFilter ","user":{"login":"t2314862168","id":6425339,"avatar_url":"https://avatars.githubusercontent.com/u/6425339?v=3","gravatar_id":"","url":"https://api.github.com/users/t2314862168","html_url":"https://github.com/t2314862168","followers_url":"https://api.github.com/users/t2314862168/followers","following_url":"https://api.github.com/users/t2314862168/following{/other_user}","gists_url":"https://api.github.com/users/t2314862168/gists{/gist_id}","starred_url":"https://api.github.com/users/t2314862168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t2314862168/subscriptions","organizations_url":"https://api.github.com/users/t2314862168/orgs","repos_url":"https://api.github.com/users/t2314862168/repos","events_url":"https://api.github.com/users/t2314862168/events{/privacy}","received_events_url":"https://api.github.com/users/t2314862168/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bumptech/glide/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-08T08:52:09Z","updated_at":"2015-10-16T22:19:25Z","closed_at":"2015-10-16T22:19:25Z","body":"my item layout:\r\n\r\n```java\r\npublic PhotoItemLayout(Context context, onPhotoItemCheckedListener listener) {\r\n      this(context);\r\n      LayoutInflater.from(context).inflate(R.layout.layout_photoitem, this,true);\r\n      this.listener = listener;\r\n\r\n      setOnLongClickListener(this);\r\n\r\n      ivPhoto = (ImageView) findViewById(R.id.iv_photo_lpsi);\r\n      cbPhoto = (CheckBox) findViewById(R.id.cb_photo_lpsi);\r\n\r\n      cbPhoto.setOnCheckedChangeListener(this); // CheckBox Listener\r\n}\r\n\r\n@Override\r\npublic void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\r\n      if (!isCheckAll) {\r\n            listener.onCheckedChanged(photo, buttonView, isChecked); // notify listener update data\r\n      }\r\n      // make picture change color\r\n      if (isChecked) {\r\n            setDrawingable();\r\n            ivPhoto.setColorFilter(Color.GRAY, PorterDuff.Mode.MULTIPLY);\r\n      } else {\r\n            ivPhoto.clearColorFilter();\r\n      }\r\n      photo.setChecked(isChecked);\r\n}\r\n```\r\n\r\nthen load image code:\r\n\r\n```java\r\npublic static void loadImg(Context context, ImageView imageView, String url) {\r\n      Glide.with(context).load(url).placeholder(R.drawable.bg_loading)\r\n                  .error(R.drawable.bg_load_failed)\r\n                  .into(imageView);\r\n}\r\n```\r\n\r\nwhen the image disappears, if scoll down then scroll back, the image can be appear. \r\nif i don't use the placeholder, it won't happen. Please help me!"}}