{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fresco/issues/1341","repository_url":"https://api.github.com/repos/facebook/fresco","labels_url":"https://api.github.com/repos/facebook/fresco/issues/1341/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fresco/issues/1341/comments","events_url":"https://api.github.com/repos/facebook/fresco/issues/1341/events","html_url":"https://github.com/facebook/fresco/issues/1341","id":164019788,"number":1341,"title":"how many times to retry before failureimage is shown? ","user":{"login":"lovearthhome","id":16535358,"avatar_url":"https://avatars.githubusercontent.com/u/16535358?v=3","gravatar_id":"","url":"https://api.github.com/users/lovearthhome","html_url":"https://github.com/lovearthhome","followers_url":"https://api.github.com/users/lovearthhome/followers","following_url":"https://api.github.com/users/lovearthhome/following{/other_user}","gists_url":"https://api.github.com/users/lovearthhome/gists{/gist_id}","starred_url":"https://api.github.com/users/lovearthhome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovearthhome/subscriptions","organizations_url":"https://api.github.com/users/lovearthhome/orgs","repos_url":"https://api.github.com/users/lovearthhome/repos","events_url":"https://api.github.com/users/lovearthhome/events{/privacy}","received_events_url":"https://api.github.com/users/lovearthhome/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/fresco/labels/question","name":"question","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-06T07:59:59Z","updated_at":"2016-07-07T12:10:26Z","closed_at":"2016-07-07T12:10:26Z","body":"using fresco, i set retryiamge and failure iamge,\r\n\r\nas i observed, in absence of network (image can not be downloaed),  i need to press retry image 2~5 times before failure image shown. \r\n\r\nwhy is that? where to configure the retry count. \r\n\r\nor\r\n\r\nafter i press retryImage once, the image request is fired, before the response arrive, i can press retryImge again and again? once reponse arrive saying that network is non-available, failure image shown ?\r\n\r\n\r\n-----------------update-----\r\n\r\ni am sure that:\r\n\r\ni press the retryImage once, one iamgeRequest is fired!\r\npress twice fire two imageRequest\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/fresco/issues/comments/231059819","html_url":"https://github.com/facebook/fresco/issues/1341#issuecomment-231059819","issue_url":"https://api.github.com/repos/facebook/fresco/issues/1341","id":231059819,"user":{"login":"massimocarli","id":235695,"avatar_url":"https://avatars.githubusercontent.com/u/235695?v=3","gravatar_id":"","url":"https://api.github.com/users/massimocarli","html_url":"https://github.com/massimocarli","followers_url":"https://api.github.com/users/massimocarli/followers","following_url":"https://api.github.com/users/massimocarli/following{/other_user}","gists_url":"https://api.github.com/users/massimocarli/gists{/gist_id}","starred_url":"https://api.github.com/users/massimocarli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/massimocarli/subscriptions","organizations_url":"https://api.github.com/users/massimocarli/orgs","repos_url":"https://api.github.com/users/massimocarli/repos","events_url":"https://api.github.com/users/massimocarli/events{/privacy}","received_events_url":"https://api.github.com/users/massimocarli/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T12:10:26Z","updated_at":"2016-07-07T12:10:26Z","body":"All the retry logic in encapsulated into the [RetryManager](https://github.com/facebook/fresco/blob/df2854a76786f58e044a71617309cc3c0a0c358c/drawee/src/main/java/com/facebook/drawee/components/RetryManager.java) class. In order to enable this you have to invoke the `setTapToRetryEnabled()` method in the `DraweeControllerBuilder`. The default number of retry is 4 but you can obviously change it.\r\nThanks"}}
{"actor":{"display_login":"massimocarli"}}