{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/2082","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/2082/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/2082/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/2082/events","html_url":"https://github.com/bumptech/glide/issues/2082","id":238755732,"number":2082,"title":"Checking if I've all the required images before starting a flow","user":{"login":"yashasvigirdhar","id":2319525,"avatar_url":"https://avatars1.githubusercontent.com/u/2319525?v=4","gravatar_id":"","url":"https://api.github.com/users/yashasvigirdhar","html_url":"https://github.com/yashasvigirdhar","followers_url":"https://api.github.com/users/yashasvigirdhar/followers","following_url":"https://api.github.com/users/yashasvigirdhar/following{/other_user}","gists_url":"https://api.github.com/users/yashasvigirdhar/gists{/gist_id}","starred_url":"https://api.github.com/users/yashasvigirdhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yashasvigirdhar/subscriptions","organizations_url":"https://api.github.com/users/yashasvigirdhar/orgs","repos_url":"https://api.github.com/users/yashasvigirdhar/repos","events_url":"https://api.github.com/users/yashasvigirdhar/events{/privacy}","received_events_url":"https://api.github.com/users/yashasvigirdhar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-27T07:06:12Z","updated_at":"2017-11-12T03:43:26Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease fill in the below fields with some data to help us best diagnose the issue.\r\nThe more specific you are, the better! You can help a lot by not making us ask these questions.\r\nFeel free to remove any irrelevant parts that you know are not related to the issue.\r\nAny HTML comment like this will be stripped when rendering markdown, no need to delete them.\r\n-->\r\n\r\n\r\n<!-- What version of Glide you're running, for example: 3.7.1 | 3.8.0-SNAPSHOT | 4.0.0-SNAPSHOT\r\nIt's essentially the version number from your build.gradle: `dependencies { compile '...:x.y.z' }` -->\r\n**Glide Version**: 3.7.0\r\n\r\n<!-- Share the details of your issue in prose, detailing actual and expected behavior. It also helps if you give some info **why** you are trying to do something as opposed to **what** is not working. -->\r\n**Use case background**:\r\nI am building an app where I've to educate my users on a certain aspect of my app. The education flow displays `n` views in a sequence and may/may not use an image in each of the view. What I want to do is : \r\n\r\nDownload all the images (and cache them of course) before the education starts (This I'll be doing as soon as the user opens the app or some other trigger from my server). \r\n\r\nThere's a trigger point in my app to start the education. At that point, I want to check if I've all the images in my cache. If I don't have them, I don't want to start the education yet and wait till the user reaches the trigger point the next time.\r\n\r\n- I know I can use 'downloadOnly` method for just downloading the image, but how do I get to know if it had successfully downloaded all the images that I asked it to download.\r\n- The images dowloading part (I may do this app restart OR at some other trigger received from my backend server) and checking if I've all the images in the cache \r\n(this I want to check at the education trigger point) occur at two different points in my app as you can see. How do I achieve the second part  i.e. checking if I've all the required images?\r\n- One more thing, I am assuming `downloadOnly` skips the download if it finds that the image is already in cache. Please correct me if I am wrong.\r\n\r\nI went through #639, but was not able to figure out how it'd be fit my usecase.  "},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/343711297","html_url":"https://github.com/bumptech/glide/issues/2082#issuecomment-343711297","issue_url":"https://api.github.com/repos/bumptech/glide/issues/2082","id":343711297,"user":{"login":"stale[bot]","id":26384082,"avatar_url":"https://avatars2.githubusercontent.com/u/26350515?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2017-11-12T03:43:26Z","updated_at":"2017-11-12T03:43:26Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}