{"action":"created","issue":{"url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/122","labels_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/122/comments","events_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/122/events","html_url":"https://github.com/bignerdranch/expandable-recycler-view/issues/122","id":117385901,"number":122,"title":"Crash Restoring State","user":{"login":"paul-turner","id":1944943,"avatar_url":"https://avatars.githubusercontent.com/u/1944943?v=3","gravatar_id":"","url":"https://api.github.com/users/paul-turner","html_url":"https://github.com/paul-turner","followers_url":"https://api.github.com/users/paul-turner/followers","following_url":"https://api.github.com/users/paul-turner/following{/other_user}","gists_url":"https://api.github.com/users/paul-turner/gists{/gist_id}","starred_url":"https://api.github.com/users/paul-turner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul-turner/subscriptions","organizations_url":"https://api.github.com/users/paul-turner/orgs","repos_url":"https://api.github.com/users/paul-turner/repos","events_url":"https://api.github.com/users/paul-turner/events{/privacy}","received_events_url":"https://api.github.com/users/paul-turner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-17T15:57:48Z","updated_at":"2015-11-19T21:14:39Z","closed_at":null,"body":"From #90:\r\n> I used the code you provided in my MyExpandableAdapter.java\r\n\r\n>Everything works fine but after i browse the application, change the device configuration to landscape and switch to another application there was an error occurred related to \r\nArrayIndexOutOfBound in the mExpandableAdapter.onRestoreInstanceState(savedInstanceState);\r\n\r\n>Caused by: java.lang.IndexOutOfBoundsException: Invalid index 20, size is 20 \r\nat com.bignerdranch.expandablerecyclerview.Adapter.ExpandableRecyclerAdapter.getListItem(ExpandableRecyclerAdapter.java:490)\r\nat com.bignerdranch.expandablerecyclerview.Adapter.ExpandableRecyclerAdapter.onRestoreInstanceState(ExpandableRecyclerAdapter.java:445)\r\nat com.eyey.android.eyeynews.ui.MainActivity.onRestoreInstanceState(MainActivity.java:87)"},"comment":{"url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/comments/158200129","html_url":"https://github.com/bignerdranch/expandable-recycler-view/issues/122#issuecomment-158200129","issue_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/122","id":158200129,"user":{"login":"vsay01","id":6526127,"avatar_url":"https://avatars.githubusercontent.com/u/6526127?v=3","gravatar_id":"","url":"https://api.github.com/users/vsay01","html_url":"https://github.com/vsay01","followers_url":"https://api.github.com/users/vsay01/followers","following_url":"https://api.github.com/users/vsay01/following{/other_user}","gists_url":"https://api.github.com/users/vsay01/gists{/gist_id}","starred_url":"https://api.github.com/users/vsay01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsay01/subscriptions","organizations_url":"https://api.github.com/users/vsay01/orgs","repos_url":"https://api.github.com/users/vsay01/repos","events_url":"https://api.github.com/users/vsay01/events{/privacy}","received_events_url":"https://api.github.com/users/vsay01/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T21:14:39Z","updated_at":"2015-11-19T21:14:39Z","body":"@paul-turner \r\nI used this: android:expandablerecyclerview:2.0.4-SNAPSHOT'\r\nWhen I sync project with gradle files\r\nError:(36, 13) Failed to resolve: com.bignerdranch.android:expandablerecyclerview:2.0.4-SNAPSHOT"}}