{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/883","labels_url":"https://api.github.com/repos/bumptech/glide/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/883/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/883/events","html_url":"https://github.com/bumptech/glide/issues/883","id":126213168,"number":883,"title":"Glide not firing listener or respecting size multiplier ","user":{"login":"mformetal","id":8823833,"avatar_url":"https://avatars.githubusercontent.com/u/8823833?v=3","gravatar_id":"","url":"https://api.github.com/users/mformetal","html_url":"https://github.com/mformetal","followers_url":"https://api.github.com/users/mformetal/followers","following_url":"https://api.github.com/users/mformetal/following{/other_user}","gists_url":"https://api.github.com/users/mformetal/gists{/gist_id}","starred_url":"https://api.github.com/users/mformetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mformetal/subscriptions","organizations_url":"https://api.github.com/users/mformetal/orgs","repos_url":"https://api.github.com/users/mformetal/repos","events_url":"https://api.github.com/users/mformetal/events{/privacy}","received_events_url":"https://api.github.com/users/mformetal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T16:09:13Z","updated_at":"2016-01-12T16:24:06Z","closed_at":null,"body":"I have a simple Vertical RecyclerView, inside of which I am doing:\r\n\r\nGlide.with(mContext)\r\n                .load(sketch.getBytes())\r\n                .into(holder.imageView);\r\n\r\nWhere \"Sketch\" is my RealmObject class that contains bytes. My holder.imageView is set as match_parent, and Glide correctly works in this case.\r\n\r\nHowever, when I change my orientation to Horizontal, Glide does not fire. In that same snippet of code, if I add a .listener(RequestBuilder....), nothing inside the listener is fired. Why would this be the case? The dimens of my imageView change, of course, but that shouldn't completely remove the functionality of the library.\r\n\r\nForgot to mention: the only way horizontal scrolling works is calling .override() with my screen dimensions. This is, of course, ugly and results in some weird scrolling behavior, so I'd rather not have to do this if given the choice."},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/170964017","html_url":"https://github.com/bumptech/glide/issues/883#issuecomment-170964017","issue_url":"https://api.github.com/repos/bumptech/glide/issues/883","id":170964017,"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},"created_at":"2016-01-12T16:24:06Z","updated_at":"2016-01-12T16:24:06Z","body":"Are the views visible? The fact that `override` makes it work suggests that the onPreDraw is not called (see `ViewTarget.SizeDeterminer`). Views must be laid out for Glide to start the load.\r\n\r\nWhat happens if you start the whole thing in horizontal orientation? (This eliminates bugs that may be caused by wrong lifecycle (rotation) handling in your app.)"}}