{"action":"created","issue":{"url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/issues/44","repository_url":"https://api.github.com/repos/stepstone-tech/android-material-stepper","labels_url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/issues/44/comments","events_url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/issues/44/events","html_url":"https://github.com/stepstone-tech/android-material-stepper/pull/44","id":200135763,"number":44,"title":"Error back","user":{"login":"leonardo2204","id":1509421,"avatar_url":"https://avatars.githubusercontent.com/u/1509421?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardo2204","html_url":"https://github.com/leonardo2204","followers_url":"https://api.github.com/users/leonardo2204/followers","following_url":"https://api.github.com/users/leonardo2204/following{/other_user}","gists_url":"https://api.github.com/users/leonardo2204/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardo2204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardo2204/subscriptions","organizations_url":"https://api.github.com/users/leonardo2204/orgs","repos_url":"https://api.github.com/users/leonardo2204/repos","events_url":"https://api.github.com/users/leonardo2204/events{/privacy}","received_events_url":"https://api.github.com/users/leonardo2204/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-11T16:10:56Z","updated_at":"2017-01-12T13:32:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/pulls/44","html_url":"https://github.com/stepstone-tech/android-material-stepper/pull/44","diff_url":"https://github.com/stepstone-tech/android-material-stepper/pull/44.diff","patch_url":"https://github.com/stepstone-tech/android-material-stepper/pull/44.patch"},"body":"I created this PR to address #32 enhancement.\r\nMy previous code from the #37 is also here, so, sorry for the long commit.\r\nI'd suggest taking a look at https://github.com/stepstone-tech/android-material-stepper/commit/2c33eaf626368a40ecda9ec4947dec71262eb61f for code only of the #32 issue.\r\nI managed the issue addressed by @zawadz88 :\r\n\r\n> When we go to the previous step? If so, when we then go back to the failed step the regular state should be shown instead of the error state?\r\n\r\nAdding a `showErrorStateOnBack` flag, so the user can choose whether or not to clean the error from the current step when moving back.\r\n\r\nThe main point I'd like to discuss is when we get an error on \"complete\" state, do all the necessary steps to get it right and press \"complete\" again. Currently the callback is correctly fired, but the \"error\" state is never cleared. Not sure if this should be treated, as most of the cases the user will move forward to another screen.\r\n\r\nWhat are your thoughts on that ?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/issues/comments/272163673","html_url":"https://github.com/stepstone-tech/android-material-stepper/pull/44#issuecomment-272163673","issue_url":"https://api.github.com/repos/stepstone-tech/android-material-stepper/issues/44","id":272163673,"user":{"login":"leonardo2204","id":1509421,"avatar_url":"https://avatars.githubusercontent.com/u/1509421?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardo2204","html_url":"https://github.com/leonardo2204","followers_url":"https://api.github.com/users/leonardo2204/followers","following_url":"https://api.github.com/users/leonardo2204/following{/other_user}","gists_url":"https://api.github.com/users/leonardo2204/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardo2204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardo2204/subscriptions","organizations_url":"https://api.github.com/users/leonardo2204/orgs","repos_url":"https://api.github.com/users/leonardo2204/repos","events_url":"https://api.github.com/users/leonardo2204/events{/privacy}","received_events_url":"https://api.github.com/users/leonardo2204/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T13:32:04Z","updated_at":"2017-01-12T13:32:04Z","body":"About your points:\r\n\r\n1. You got it, I really forgot it.\r\n2. Sure, totally agree.\r\n3. Agreed also.\r\n4. Ok, no problem !"}}
{"actor":{"display_login":"leonardo2204"}}