{"action":"opened","issue":{"url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/136","labels_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/136/comments","events_url":"https://api.github.com/repos/bignerdranch/expandable-recycler-view/issues/136/events","html_url":"https://github.com/bignerdranch/expandable-recycler-view/issues/136","id":123084583,"number":136,"title":"Provide better expand/collapse animations","user":{"login":"WonderCsabo","id":480485,"avatar_url":"https://avatars.githubusercontent.com/u/480485?v=3","gravatar_id":"","url":"https://api.github.com/users/WonderCsabo","html_url":"https://github.com/WonderCsabo","followers_url":"https://api.github.com/users/WonderCsabo/followers","following_url":"https://api.github.com/users/WonderCsabo/following{/other_user}","gists_url":"https://api.github.com/users/WonderCsabo/gists{/gist_id}","starred_url":"https://api.github.com/users/WonderCsabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WonderCsabo/subscriptions","organizations_url":"https://api.github.com/users/WonderCsabo/orgs","repos_url":"https://api.github.com/users/WonderCsabo/repos","events_url":"https://api.github.com/users/WonderCsabo/events{/privacy}","received_events_url":"https://api.github.com/users/WonderCsabo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-19T13:07:04Z","updated_at":"2015-12-19T13:07:04Z","closed_at":null,"body":"Currently the library just calls up to `notifyItemRemoved()` when collapsing an item and `notifyItemInserted()` when expanding an item. With the `DefaultItemAnimator` (which is `RecyclerView` uses by default, hence most of the projects including your examples do), this will result in simply fade in/out animations when expanding the items and collapsing the items.\r\n\r\nHowever, this does not really feel a \"real\" expansion operation. The expansion would be better represented by a shift animation. It would be nice if the lib would provide an `ItemAnimator` which would animate the expand/collapse action in this manner."}}