{"action":"created","issue":{"url":"https://api.github.com/repos/emilsjolander/StickyListHeaders/issues/374","labels_url":"https://api.github.com/repos/emilsjolander/StickyListHeaders/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/emilsjolander/StickyListHeaders/issues/374/comments","events_url":"https://api.github.com/repos/emilsjolander/StickyListHeaders/issues/374/events","html_url":"https://github.com/emilsjolander/StickyListHeaders/issues/374","id":55635346,"number":374,"title":"Any way to hide the first header? ","user":{"login":"codyrotwein","id":6142974,"avatar_url":"https://avatars.githubusercontent.com/u/6142974?v=3","gravatar_id":"","url":"https://api.github.com/users/codyrotwein","html_url":"https://github.com/codyrotwein","followers_url":"https://api.github.com/users/codyrotwein/followers","following_url":"https://api.github.com/users/codyrotwein/following{/other_user}","gists_url":"https://api.github.com/users/codyrotwein/gists{/gist_id}","starred_url":"https://api.github.com/users/codyrotwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyrotwein/subscriptions","organizations_url":"https://api.github.com/users/codyrotwein/orgs","repos_url":"https://api.github.com/users/codyrotwein/repos","events_url":"https://api.github.com/users/codyrotwein/events{/privacy}","received_events_url":"https://api.github.com/users/codyrotwein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-27T15:54:36Z","updated_at":"2015-11-02T14:34:37Z","closed_at":null,"body":"Unable to send null to getHeaderView. I don't want to display a blank header above the first row."},"comment":{"url":"https://api.github.com/repos/emilsjolander/StickyListHeaders/issues/comments/153032745","html_url":"https://github.com/emilsjolander/StickyListHeaders/issues/374#issuecomment-153032745","issue_url":"https://api.github.com/repos/emilsjolander/StickyListHeaders/issues/374","id":153032745,"user":{"login":"codyrotwein","id":6142974,"avatar_url":"https://avatars.githubusercontent.com/u/6142974?v=3","gravatar_id":"","url":"https://api.github.com/users/codyrotwein","html_url":"https://github.com/codyrotwein","followers_url":"https://api.github.com/users/codyrotwein/followers","following_url":"https://api.github.com/users/codyrotwein/following{/other_user}","gists_url":"https://api.github.com/users/codyrotwein/gists{/gist_id}","starred_url":"https://api.github.com/users/codyrotwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codyrotwein/subscriptions","organizations_url":"https://api.github.com/users/codyrotwein/orgs","repos_url":"https://api.github.com/users/codyrotwein/repos","events_url":"https://api.github.com/users/codyrotwein/events{/privacy}","received_events_url":"https://api.github.com/users/codyrotwein/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T14:34:37Z","updated_at":"2015-11-02T14:34:37Z","body":"I got around the issue by basically creating a list row layout that's 0dp in height. And then just conditionally show it if it's the first row:\r\nif(position == 0) {\r\n            convertView = mInflater.inflate(R.layout.list_row_header_blank, parent, false);\r\n        } else {\r\n            convertView = mInflater.inflate(R.layout.list_row_alerts_header, parent, false);\r\n}"}}