{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/370","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/370/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/370/events","html_url":"https://github.com/bumptech/glide/issues/370","id":61063381,"number":370,"title":"ImageView.setTag cannot be used for ViewHolder when root of layout","user":{"login":"TWiStErRob","id":2906988,"avatar_url":"https://avatars.githubusercontent.com/u/2906988?v=3","gravatar_id":"","url":"https://api.github.com/users/TWiStErRob","html_url":"https://github.com/TWiStErRob","followers_url":"https://api.github.com/users/TWiStErRob/followers","following_url":"https://api.github.com/users/TWiStErRob/following{/other_user}","gists_url":"https://api.github.com/users/TWiStErRob/gists{/gist_id}","starred_url":"https://api.github.com/users/TWiStErRob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TWiStErRob/subscriptions","organizations_url":"https://api.github.com/users/TWiStErRob/orgs","repos_url":"https://api.github.com/users/TWiStErRob/repos","events_url":"https://api.github.com/users/TWiStErRob/events{/privacy}","received_events_url":"https://api.github.com/users/TWiStErRob/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bumptech/glide/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/bumptech/glide/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bumptech/glide/milestones/9","html_url":"https://github.com/bumptech/glide/milestones/3.6.0","labels_url":"https://api.github.com/repos/bumptech/glide/milestones/9/labels","id":1036385,"number":9,"title":"3.6.0","description":"","creator":{"login":"sjudd","id":1627211,"avatar_url":"https://avatars.githubusercontent.com/u/1627211?v=3","gravatar_id":"","url":"https://api.github.com/users/sjudd","html_url":"https://github.com/sjudd","followers_url":"https://api.github.com/users/sjudd/followers","following_url":"https://api.github.com/users/sjudd/following{/other_user}","gists_url":"https://api.github.com/users/sjudd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjudd/subscriptions","organizations_url":"https://api.github.com/users/sjudd/orgs","repos_url":"https://api.github.com/users/sjudd/repos","events_url":"https://api.github.com/users/sjudd/events{/privacy}","received_events_url":"https://api.github.com/users/sjudd/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":26,"state":"closed","created_at":"2015-03-24T14:21:20Z","updated_at":"2015-05-02T22:40:32Z","due_on":"2015-05-01T07:00:00Z","closed_at":"2015-05-02T22:40:32Z"},"comments":10,"created_at":"2015-03-13T13:26:12Z","updated_at":"2016-03-02T08:47:38Z","closed_at":"2015-05-01T16:35:29Z","body":"**Glide Version/Integration library (if any)**: 3.5.2\r\n**Device/Android Version**: S4/4.4\r\n**Issue details/Repro steps**:\r\nConsider a ListView containing a dead simple layout:\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ImageView\r\n\txmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n\tandroid:id=\"@+id/image\"\r\n\tandroid:layout_width=\"wrap_content\"\r\n\tandroid:layout_height=\"wrap_content\"\r\n\t/>\r\n```\r\nand an Adapter which is using the usual ViewHolder pattern, i.e. inflating the view from resource (above) and `setTag(vh);`, now Glide wants to do the same when loading the image. There could easily be a way to prevent conflicts, by allowing the `ViewTarget` users to set an ID to use with `setTag(int, Object)`, even if it's just a static method on ViewTarget (default being`View.NO_ID` -> `setTag(Object)`).\r\n\r\n**Glide load line**:\r\n```java\r\nGlide.with(context).load(...).into(vh.image);\r\n```\r\n\r\n**Stack trace**:\r\n```\r\n    java.lang.IllegalArgumentException: You must not call setTag() on a view Glide is targeting\r\n            at com.bumptech.glide.request.target.ViewTarget.getRequest(ViewTarget.java:105)\r\n            at com.bumptech.glide.GenericRequestBuilder.into(GenericRequestBuilder.java:605)\r\n            at net.twisterrob.app.android.view.Adapter.bindView()\r\n            ...\r\n```"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/191132223","html_url":"https://github.com/bumptech/glide/issues/370#issuecomment-191132223","issue_url":"https://api.github.com/repos/bumptech/glide/issues/370","id":191132223,"user":{"login":"sleliyk","id":2329592,"avatar_url":"https://avatars.githubusercontent.com/u/2329592?v=3","gravatar_id":"","url":"https://api.github.com/users/sleliyk","html_url":"https://github.com/sleliyk","followers_url":"https://api.github.com/users/sleliyk/followers","following_url":"https://api.github.com/users/sleliyk/following{/other_user}","gists_url":"https://api.github.com/users/sleliyk/gists{/gist_id}","starred_url":"https://api.github.com/users/sleliyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleliyk/subscriptions","organizations_url":"https://api.github.com/users/sleliyk/orgs","repos_url":"https://api.github.com/users/sleliyk/repos","events_url":"https://api.github.com/users/sleliyk/events{/privacy}","received_events_url":"https://api.github.com/users/sleliyk/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T08:47:38Z","updated_at":"2016-03-02T08:47:38Z","body":"While using bindings I'm experiencing same issue as described above. Are there any workaround or so?"}}