{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/691","labels_url":"https://api.github.com/repos/bumptech/glide/issues/691/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/691/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/691/events","html_url":"https://github.com/bumptech/glide/issues/691","id":111983309,"number":691,"title":"Caching not fully loaded image","user":{"login":"vavan4567","id":8720664,"avatar_url":"https://avatars.githubusercontent.com/u/8720664?v=3","gravatar_id":"","url":"https://api.github.com/users/vavan4567","html_url":"https://github.com/vavan4567","followers_url":"https://api.github.com/users/vavan4567/followers","following_url":"https://api.github.com/users/vavan4567/following{/other_user}","gists_url":"https://api.github.com/users/vavan4567/gists{/gist_id}","starred_url":"https://api.github.com/users/vavan4567/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vavan4567/subscriptions","organizations_url":"https://api.github.com/users/vavan4567/orgs","repos_url":"https://api.github.com/users/vavan4567/repos","events_url":"https://api.github.com/users/vavan4567/events{/privacy}","received_events_url":"https://api.github.com/users/vavan4567/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bumptech/glide/labels/question","name":"question","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-17T20:31:22Z","updated_at":"2015-10-29T14:23:53Z","closed_at":null,"body":"I have 2 activities. 1st - list where I am loading image and 2nd - fullscreen image (same images).\r\nWhere image is not fully loaded in 1st activity and I am opening 2nd activity the image starts loading from start. Progress from first activity is not saved. B t w using DiskCacheStrategy.ALL"},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/152195867","html_url":"https://github.com/bumptech/glide/issues/691#issuecomment-152195867","issue_url":"https://api.github.com/repos/bumptech/glide/issues/691","id":152195867,"user":{"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},"created_at":"2015-10-29T14:23:53Z","updated_at":"2015-10-29T14:23:53Z","body":"I'm a little unclear on the question here. If you want to continue to show the image from the list while loading the full size image, you can use the [``thumbnail()``][1] API in the fullscreen view. Pass a request identical to that used in the list to ``thumbnail()`` and then load the larger image in the main request.\r\n\r\nIf you want to re-use the data you downloaded for your list in your fullscreen activity, then DiskCacheStrategy.ALL should work, as long as the URL/Uri you use to request the image in both places is the same. The request in the fullscreen activity won't complete instantly because it takes time to decode the image (particularly large ones), but it shouldn't require downloading the data again.\r\n\r\n[1]: http://bumptech.github.io/glide/javadocs/360/com/bumptech/glide/DrawableRequestBuilder.html#thumbnail(com.bumptech.glide.DrawableRequestBuilder)\r\n    "}}