{"action":"created","issue":{"url":"https://api.github.com/repos/LittleMango/StackLayoutManager/issues/3","repository_url":"https://api.github.com/repos/LittleMango/StackLayoutManager","labels_url":"https://api.github.com/repos/LittleMango/StackLayoutManager/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/LittleMango/StackLayoutManager/issues/3/comments","events_url":"https://api.github.com/repos/LittleMango/StackLayoutManager/issues/3/events","html_url":"https://github.com/LittleMango/StackLayoutManager/pull/3","id":356464501,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNzE3Njcy","number":3,"title":"Fix on items not being removed and crash on scroll","user":{"login":"dzolnai","id":3629582,"node_id":"MDQ6VXNlcjM2Mjk1ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/3629582?v=4","gravatar_id":"","url":"https://api.github.com/users/dzolnai","html_url":"https://github.com/dzolnai","followers_url":"https://api.github.com/users/dzolnai/followers","following_url":"https://api.github.com/users/dzolnai/following{/other_user}","gists_url":"https://api.github.com/users/dzolnai/gists{/gist_id}","starred_url":"https://api.github.com/users/dzolnai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzolnai/subscriptions","organizations_url":"https://api.github.com/users/dzolnai/orgs","repos_url":"https://api.github.com/users/dzolnai/repos","events_url":"https://api.github.com/users/dzolnai/events{/privacy}","received_events_url":"https://api.github.com/users/dzolnai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-03T11:20:02Z","updated_at":"2018-09-03T11:34:23Z","closed_at":"2018-09-03T11:33:06Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/LittleMango/StackLayoutManager/pulls/3","html_url":"https://github.com/LittleMango/StackLayoutManager/pull/3","diff_url":"https://github.com/LittleMango/StackLayoutManager/pull/3.diff","patch_url":"https://github.com/LittleMango/StackLayoutManager/pull/3.patch"},"body":"This pull fixes two issues:\r\n\r\n1. Items were not removed from the RecyclerView because the zero check was before removing all views.\r\n\r\n2. Crash on scroll when there are 0 items. This is because the scroll offset calculation determined that the items had to be laid uit, but because there were 0 items, the RecyclerView crashed when asking for the view for the -1 position."},"comment":{"url":"https://api.github.com/repos/LittleMango/StackLayoutManager/issues/comments/418088450","html_url":"https://github.com/LittleMango/StackLayoutManager/pull/3#issuecomment-418088450","issue_url":"https://api.github.com/repos/LittleMango/StackLayoutManager/issues/3","id":418088450,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODA4ODQ1MA==","user":{"login":"LittleMango","id":11766065,"node_id":"MDQ6VXNlcjExNzY2MDY1","avatar_url":"https://avatars2.githubusercontent.com/u/11766065?v=4","gravatar_id":"","url":"https://api.github.com/users/LittleMango","html_url":"https://github.com/LittleMango","followers_url":"https://api.github.com/users/LittleMango/followers","following_url":"https://api.github.com/users/LittleMango/following{/other_user}","gists_url":"https://api.github.com/users/LittleMango/gists{/gist_id}","starred_url":"https://api.github.com/users/LittleMango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LittleMango/subscriptions","organizations_url":"https://api.github.com/users/LittleMango/orgs","repos_url":"https://api.github.com/users/LittleMango/repos","events_url":"https://api.github.com/users/LittleMango/events{/privacy}","received_events_url":"https://api.github.com/users/LittleMango/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T11:34:23Z","updated_at":"2018-09-03T11:34:23Z","author_association":"OWNER","body":"Thanks for fixing it. I'll update it later."}}
{"actor":{"display_login":"LittleMango"}}