{"action":"created","issue":{"url":"https://api.github.com/repos/Flipkart/recyclerlistview/issues/83","repository_url":"https://api.github.com/repos/Flipkart/recyclerlistview","labels_url":"https://api.github.com/repos/Flipkart/recyclerlistview/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Flipkart/recyclerlistview/issues/83/comments","events_url":"https://api.github.com/repos/Flipkart/recyclerlistview/issues/83/events","html_url":"https://github.com/Flipkart/recyclerlistview/issues/83","id":277782714,"number":83,"title":"onVisibleIndexesChanged misbehaves when a ViewType is taller than the window's height","user":{"login":"AbdallaMohamed","id":10912145,"avatar_url":"https://avatars1.githubusercontent.com/u/10912145?v=4","gravatar_id":"","url":"https://api.github.com/users/AbdallaMohamed","html_url":"https://github.com/AbdallaMohamed","followers_url":"https://api.github.com/users/AbdallaMohamed/followers","following_url":"https://api.github.com/users/AbdallaMohamed/following{/other_user}","gists_url":"https://api.github.com/users/AbdallaMohamed/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdallaMohamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdallaMohamed/subscriptions","organizations_url":"https://api.github.com/users/AbdallaMohamed/orgs","repos_url":"https://api.github.com/users/AbdallaMohamed/repos","events_url":"https://api.github.com/users/AbdallaMohamed/events{/privacy}","received_events_url":"https://api.github.com/users/AbdallaMohamed/received_events","type":"User","site_admin":false},"labels":[{"id":584749390,"url":"https://api.github.com/repos/Flipkart/recyclerlistview/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-29T14:51:47Z","updated_at":"2017-11-29T17:55:06Z","closed_at":null,"author_association":"NONE","body":"I'm getting wrong values from onVisibleIndexesChanged. It's returning an empty array sometimes.\r\n\r\nI reproduced it in a snack.\r\nhttps://snack.expo.io/@abdallamohamed/recyclerlistview-onvisibleindexeschanged-bug\r\n\r\nYou can see the bug when you're scrolling through the list.\r\n\r\n![nov-29-2017 15-48-11](https://user-images.githubusercontent.com/10912145/33380920-de7ea252-d51c-11e7-903c-02a7d2c50006.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/Flipkart/recyclerlistview/issues/comments/347942372","html_url":"https://github.com/Flipkart/recyclerlistview/issues/83#issuecomment-347942372","issue_url":"https://api.github.com/repos/Flipkart/recyclerlistview/issues/83","id":347942372,"user":{"login":"AbdallaMohamed","id":10912145,"avatar_url":"https://avatars1.githubusercontent.com/u/10912145?v=4","gravatar_id":"","url":"https://api.github.com/users/AbdallaMohamed","html_url":"https://github.com/AbdallaMohamed","followers_url":"https://api.github.com/users/AbdallaMohamed/followers","following_url":"https://api.github.com/users/AbdallaMohamed/following{/other_user}","gists_url":"https://api.github.com/users/AbdallaMohamed/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdallaMohamed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdallaMohamed/subscriptions","organizations_url":"https://api.github.com/users/AbdallaMohamed/orgs","repos_url":"https://api.github.com/users/AbdallaMohamed/repos","events_url":"https://api.github.com/users/AbdallaMohamed/events{/privacy}","received_events_url":"https://api.github.com/users/AbdallaMohamed/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T17:55:06Z","updated_at":"2017-11-29T17:55:06Z","author_association":"NONE","body":"My bad, I was going to have the bottom scrollview as a log where I keep adding more lines for every time the onVisibleIndexesChanged callback is fired, but then I just decided to replace the text instead of appending to it.\r\n\r\nFor now, I made sure that none of my view types have a height larger than the window height. As a workaround until the bug is fixed. \r\n\r\nAnd by the way, I'm considering supporting both screen orientations in my app soon. Does that mean I need to set canChangeSize to true for the RecyclerListView so that it handles screen height changes? "}}
{"actor":{"display_login":"AbdallaMohamed"}}