{"action":"created","issue":{"url":"https://api.github.com/repos/davideas/FlexibleAdapter/issues/258","repository_url":"https://api.github.com/repos/davideas/FlexibleAdapter","labels_url":"https://api.github.com/repos/davideas/FlexibleAdapter/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/davideas/FlexibleAdapter/issues/258/comments","events_url":"https://api.github.com/repos/davideas/FlexibleAdapter/issues/258/events","html_url":"https://github.com/davideas/FlexibleAdapter/issues/258","id":197983313,"number":258,"title":"Sticky Headers and Fragments and ViewPager","user":{"login":"tsadoklf","id":2785537,"avatar_url":"https://avatars.githubusercontent.com/u/2785537?v=3","gravatar_id":"","url":"https://api.github.com/users/tsadoklf","html_url":"https://github.com/tsadoklf","followers_url":"https://api.github.com/users/tsadoklf/followers","following_url":"https://api.github.com/users/tsadoklf/following{/other_user}","gists_url":"https://api.github.com/users/tsadoklf/gists{/gist_id}","starred_url":"https://api.github.com/users/tsadoklf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsadoklf/subscriptions","organizations_url":"https://api.github.com/users/tsadoklf/orgs","repos_url":"https://api.github.com/users/tsadoklf/repos","events_url":"https://api.github.com/users/tsadoklf/events{/privacy}","received_events_url":"https://api.github.com/users/tsadoklf/received_events","type":"User","site_admin":false},"labels":[{"id":206873902,"url":"https://api.github.com/repos/davideas/FlexibleAdapter/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-29T10:09:33Z","updated_at":"2016-12-29T10:33:59Z","closed_at":"2016-12-29T10:33:59Z","body":"Hi, \r\n\r\nI have several fragments that are switched using view pager (ViewPager + TabLayout). \r\n\r\nEach fragment has a recycler view and stickey header layout. \r\n\r\nWhen I start the activity, the sticky headers work fine in the first tab but on the other tabs they do not stick anymore (they behave like \"regular\" list items). \r\n\r\nTried several settings combinations like `setDisplayHeadersAtStartUp(true)` or `setDisplayHeadersAtStartUp(false)` with `showAllHeaders()` after updating the adapter and nothing gives the desired outcome.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/davideas/FlexibleAdapter/issues/comments/269611121","html_url":"https://github.com/davideas/FlexibleAdapter/issues/258#issuecomment-269611121","issue_url":"https://api.github.com/repos/davideas/FlexibleAdapter/issues/258","id":269611121,"user":{"login":"davideas","id":12213847,"avatar_url":"https://avatars.githubusercontent.com/u/12213847?v=3","gravatar_id":"","url":"https://api.github.com/users/davideas","html_url":"https://github.com/davideas","followers_url":"https://api.github.com/users/davideas/followers","following_url":"https://api.github.com/users/davideas/following{/other_user}","gists_url":"https://api.github.com/users/davideas/gists{/gist_id}","starred_url":"https://api.github.com/users/davideas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davideas/subscriptions","organizations_url":"https://api.github.com/users/davideas/orgs","repos_url":"https://api.github.com/users/davideas/repos","events_url":"https://api.github.com/users/davideas/events{/privacy}","received_events_url":"https://api.github.com/users/davideas/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T10:33:59Z","updated_at":"2016-12-29T10:33:59Z","body":"@tsadoklf, this is a known configuration, there are closed issues already, search \"ViewPager\".\r\n\r\nOr if you really want try today the new release, you can use the existent Snapshot version (which is the rc1 that I will publish this evening anyway), which has a new automatic system in place for sticky headers, especially in ViewPager."}}
{"actor":{"display_login":"davideas"}}