{"action":"created","issue":{"url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/38","labels_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/38/comments","events_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/38/events","html_url":"https://github.com/florent37/MaterialViewPager/issues/38","id":80870414,"number":38,"title":"Header View stay hidden when i remove last item of RecyclerView","user":{"login":"GrayaMax","id":6169740,"avatar_url":"https://avatars.githubusercontent.com/u/6169740?v=3","gravatar_id":"","url":"https://api.github.com/users/GrayaMax","html_url":"https://github.com/GrayaMax","followers_url":"https://api.github.com/users/GrayaMax/followers","following_url":"https://api.github.com/users/GrayaMax/following{/other_user}","gists_url":"https://api.github.com/users/GrayaMax/gists{/gist_id}","starred_url":"https://api.github.com/users/GrayaMax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrayaMax/subscriptions","organizations_url":"https://api.github.com/users/GrayaMax/orgs","repos_url":"https://api.github.com/users/GrayaMax/repos","events_url":"https://api.github.com/users/GrayaMax/events{/privacy}","received_events_url":"https://api.github.com/users/GrayaMax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-26T09:03:58Z","updated_at":"2015-05-26T12:22:19Z","closed_at":null,"body":"Hello,\r\nI use MaterialViewPager with RecyclerView, everything is ok, but when i try to remove an item from my recycler adapter (generally the last), i cant see the header view anymore. When i scroll to top after item removed, the header view stays collapsed and i dont know why.\r\n\r\nCan you help me ?"},"comment":{"url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/comments/105504958","html_url":"https://github.com/florent37/MaterialViewPager/issues/38#issuecomment-105504958","issue_url":"https://api.github.com/repos/florent37/MaterialViewPager/issues/38","id":105504958,"user":{"login":"GrayaMax","id":6169740,"avatar_url":"https://avatars.githubusercontent.com/u/6169740?v=3","gravatar_id":"","url":"https://api.github.com/users/GrayaMax","html_url":"https://github.com/GrayaMax","followers_url":"https://api.github.com/users/GrayaMax/followers","following_url":"https://api.github.com/users/GrayaMax/following{/other_user}","gists_url":"https://api.github.com/users/GrayaMax/gists{/gist_id}","starred_url":"https://api.github.com/users/GrayaMax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrayaMax/subscriptions","organizations_url":"https://api.github.com/users/GrayaMax/orgs","repos_url":"https://api.github.com/users/GrayaMax/repos","events_url":"https://api.github.com/users/GrayaMax/events{/privacy}","received_events_url":"https://api.github.com/users/GrayaMax/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T12:22:19Z","updated_at":"2015-05-26T12:22:19Z","body":"I remove from your adapter : \r\n```java\r\nmMaterialAdapter = new RecyclerViewMaterialAdapter(mAdapter);\r\nmRecyclerView.setAdapter(mMaterialAdapter);\r\n```\r\nso mRecyclerView.getAdapter() = RecyclerViewMaterialAdapter in\r\n\r\n```java\r\n mRecyclerView.getAdapter().notifyItemRemoved(i + 1);\r\n```"}}