{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/1203","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/1203/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/1203/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/1203/events","html_url":"https://github.com/bumptech/glide/issues/1203","id":154892332,"number":1203,"title":"WRAP_CONTENT on ImageView's both dimension and display in RecyclerView","user":{"login":"hubcin","id":6313374,"avatar_url":"https://avatars.githubusercontent.com/u/6313374?v=3","gravatar_id":"","url":"https://api.github.com/users/hubcin","html_url":"https://github.com/hubcin","followers_url":"https://api.github.com/users/hubcin/followers","following_url":"https://api.github.com/users/hubcin/following{/other_user}","gists_url":"https://api.github.com/users/hubcin/gists{/gist_id}","starred_url":"https://api.github.com/users/hubcin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubcin/subscriptions","organizations_url":"https://api.github.com/users/hubcin/orgs","repos_url":"https://api.github.com/users/hubcin/repos","events_url":"https://api.github.com/users/hubcin/events{/privacy}","received_events_url":"https://api.github.com/users/hubcin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-15T05:53:20Z","updated_at":"2016-05-15T08:21:24Z","closed_at":null,"body":"I had set ImageView's width and height to WRAP_CONTENT and set maxWidth and maxHeight to a certain value ( with adjustViewBounds = true). \r\nBecause I want to display images in it's original aspect ratio.\r\n\r\nIt works perfect if the image is loaded. But before image is loaded into ImageView, the placeholder is empty and shows nothing, and RecyclerView just jumps when the image is completely loaded.\r\n\r\nIf there's anyway I could know the exact size( width and height) of the image (via remote URL or local image path) and resize the placeholder before loading the image? \r\n\r\nany approach will be appreciated, thanks !"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/219272666","html_url":"https://github.com/bumptech/glide/issues/1203#issuecomment-219272666","issue_url":"https://api.github.com/repos/bumptech/glide/issues/1203","id":219272666,"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-05-15T08:21:24Z","updated_at":"2016-05-15T08:21:24Z","body":"Try #781 and #1024."}}