{"action":"created","issue":{"url":"https://api.github.com/repos/kmshack/Android-ParallaxHeaderViewPager/issues/19","labels_url":"https://api.github.com/repos/kmshack/Android-ParallaxHeaderViewPager/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/kmshack/Android-ParallaxHeaderViewPager/issues/19/comments","events_url":"https://api.github.com/repos/kmshack/Android-ParallaxHeaderViewPager/issues/19/events","html_url":"https://github.com/kmshack/Android-ParallaxHeaderViewPager/issues/19","id":60335356,"number":19,"title":"Replace List View with Linear Layout?","user":{"login":"maddygy","id":980982,"avatar_url":"https://avatars.githubusercontent.com/u/980982?v=3","gravatar_id":"","url":"https://api.github.com/users/maddygy","html_url":"https://github.com/maddygy","followers_url":"https://api.github.com/users/maddygy/followers","following_url":"https://api.github.com/users/maddygy/following{/other_user}","gists_url":"https://api.github.com/users/maddygy/gists{/gist_id}","starred_url":"https://api.github.com/users/maddygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddygy/subscriptions","organizations_url":"https://api.github.com/users/maddygy/orgs","repos_url":"https://api.github.com/users/maddygy/repos","events_url":"https://api.github.com/users/maddygy/events{/privacy}","received_events_url":"https://api.github.com/users/maddygy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T12:21:50Z","updated_at":"2015-04-06T08:14:00Z","closed_at":null,"body":"I want to use different layout in different tabs. How to do that?"},"comment":{"url":"https://api.github.com/repos/kmshack/Android-ParallaxHeaderViewPager/issues/comments/89969502","html_url":"https://github.com/kmshack/Android-ParallaxHeaderViewPager/issues/19#issuecomment-89969502","issue_url":"https://api.github.com/repos/kmshack/Android-ParallaxHeaderViewPager/issues/19","id":89969502,"user":{"login":"jivrajss","id":5299850,"avatar_url":"https://avatars.githubusercontent.com/u/5299850?v=3","gravatar_id":"","url":"https://api.github.com/users/jivrajss","html_url":"https://github.com/jivrajss","followers_url":"https://api.github.com/users/jivrajss/followers","following_url":"https://api.github.com/users/jivrajss/following{/other_user}","gists_url":"https://api.github.com/users/jivrajss/gists{/gist_id}","starred_url":"https://api.github.com/users/jivrajss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jivrajss/subscriptions","organizations_url":"https://api.github.com/users/jivrajss/orgs","repos_url":"https://api.github.com/users/jivrajss/repos","events_url":"https://api.github.com/users/jivrajss/events{/privacy}","received_events_url":"https://api.github.com/users/jivrajss/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T08:14:00Z","updated_at":"2015-04-06T08:14:00Z","body":"@Override\r\n\t\tpublic Fragment getItem(int position) {\r\nswitch(position){\r\ncase 0:\r\n\t\t\tScrollTabHolderFragment fragment = (ScrollTabHolderFragment) SampleListFragment.newInstance(position);\r\n\r\n\t\t\tmScrollTabHolders.put(position, fragment);\r\n\t\t\tif (mListener != null) {     \r\n\t\t\t\tfragment.setScrollTabHolder(mListener);\r\n\t\t\t}\r\n\r\n\t\t\treturn fragment;\r\nbreak;\r\ndefault:\r\n  // add ur Fragment here\r\n// return the same fragment\r\nbreak;\r\n}\r\nreturn null;\r\n\t\t}"}}