{"action":"created","issue":{"url":"https://api.github.com/repos/Commit451/ForegroundViews/issues/7","repository_url":"https://api.github.com/repos/Commit451/ForegroundViews","labels_url":"https://api.github.com/repos/Commit451/ForegroundViews/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Commit451/ForegroundViews/issues/7/comments","events_url":"https://api.github.com/repos/Commit451/ForegroundViews/issues/7/events","html_url":"https://github.com/Commit451/ForegroundViews/issues/7","id":181070117,"number":7,"title":"No foreground after screen rotation","user":{"login":"dawidhermann","id":15183754,"avatar_url":"https://avatars.githubusercontent.com/u/15183754?v=3","gravatar_id":"","url":"https://api.github.com/users/dawidhermann","html_url":"https://github.com/dawidhermann","followers_url":"https://api.github.com/users/dawidhermann/followers","following_url":"https://api.github.com/users/dawidhermann/following{/other_user}","gists_url":"https://api.github.com/users/dawidhermann/gists{/gist_id}","starred_url":"https://api.github.com/users/dawidhermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawidhermann/subscriptions","organizations_url":"https://api.github.com/users/dawidhermann/orgs","repos_url":"https://api.github.com/users/dawidhermann/repos","events_url":"https://api.github.com/users/dawidhermann/events{/privacy}","received_events_url":"https://api.github.com/users/dawidhermann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T05:48:13Z","updated_at":"2016-10-05T13:16:31Z","closed_at":null,"body":"On all android versions lower than 6 after screen rotation Foreground Button lose his foreground drawable. After some debuging i realize that onLayout was called twice - second time with `changed = false`, and then `ForegroundDelegate.draw()` was called, so when ForegroundDelegate tried to draw something `mForegroundBoundsChanged ` was false. When i removed `if (mForegroundBoundsChanged)` statement everything was fine."},"comment":{"url":"https://api.github.com/repos/Commit451/ForegroundViews/issues/comments/251671168","html_url":"https://github.com/Commit451/ForegroundViews/issues/7#issuecomment-251671168","issue_url":"https://api.github.com/repos/Commit451/ForegroundViews/issues/7","id":251671168,"user":{"login":"Jawnnypoo","id":1459320,"avatar_url":"https://avatars.githubusercontent.com/u/1459320?v=3","gravatar_id":"","url":"https://api.github.com/users/Jawnnypoo","html_url":"https://github.com/Jawnnypoo","followers_url":"https://api.github.com/users/Jawnnypoo/followers","following_url":"https://api.github.com/users/Jawnnypoo/following{/other_user}","gists_url":"https://api.github.com/users/Jawnnypoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Jawnnypoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jawnnypoo/subscriptions","organizations_url":"https://api.github.com/users/Jawnnypoo/orgs","repos_url":"https://api.github.com/users/Jawnnypoo/repos","events_url":"https://api.github.com/users/Jawnnypoo/events{/privacy}","received_events_url":"https://api.github.com/users/Jawnnypoo/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T13:16:31Z","updated_at":"2016-10-05T13:16:31Z","body":"I am actually unable to reproduce this with the sample project. Are you able to reproduce it there? And can you give a little more info such as what device and what version of Android it is?"}}
{"actor":{"display_login":"Jawnnypoo"}}