{"action":"created","issue":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1114","repository_url":"https://api.github.com/repos/mikepenz/MaterialDrawer","labels_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1114/comments","events_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1114/events","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1114","id":142202861,"number":1114,"title":"viewpager inside drawer","user":{"login":"soheilserver","id":5129502,"avatar_url":"https://avatars.githubusercontent.com/u/5129502?v=3","gravatar_id":"","url":"https://api.github.com/users/soheilserver","html_url":"https://github.com/soheilserver","followers_url":"https://api.github.com/users/soheilserver/followers","following_url":"https://api.github.com/users/soheilserver/following{/other_user}","gists_url":"https://api.github.com/users/soheilserver/gists{/gist_id}","starred_url":"https://api.github.com/users/soheilserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soheilserver/subscriptions","organizations_url":"https://api.github.com/users/soheilserver/orgs","repos_url":"https://api.github.com/users/soheilserver/repos","events_url":"https://api.github.com/users/soheilserver/events{/privacy}","received_events_url":"https://api.github.com/users/soheilserver/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"mikepenz","id":1476232,"avatar_url":"https://avatars.githubusercontent.com/u/1476232?v=3","gravatar_id":"","url":"https://api.github.com/users/mikepenz","html_url":"https://github.com/mikepenz","followers_url":"https://api.github.com/users/mikepenz/followers","following_url":"https://api.github.com/users/mikepenz/following{/other_user}","gists_url":"https://api.github.com/users/mikepenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepenz/subscriptions","organizations_url":"https://api.github.com/users/mikepenz/orgs","repos_url":"https://api.github.com/users/mikepenz/repos","events_url":"https://api.github.com/users/mikepenz/events{/privacy}","received_events_url":"https://api.github.com/users/mikepenz/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-20T20:40:34Z","updated_at":"2016-03-21T08:47:16Z","closed_at":null,"body":"how is it possible to  have a viewpager with tablayout inside material drawer so that when it gets open, the user can swipe between some pages. thanx so much"},"comment":{"url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/comments/199179687","html_url":"https://github.com/mikepenz/MaterialDrawer/issues/1114#issuecomment-199179687","issue_url":"https://api.github.com/repos/mikepenz/MaterialDrawer/issues/1114","id":199179687,"user":{"login":"BillBosiolis","id":12296277,"avatar_url":"https://avatars.githubusercontent.com/u/12296277?v=3","gravatar_id":"","url":"https://api.github.com/users/BillBosiolis","html_url":"https://github.com/BillBosiolis","followers_url":"https://api.github.com/users/BillBosiolis/followers","following_url":"https://api.github.com/users/BillBosiolis/following{/other_user}","gists_url":"https://api.github.com/users/BillBosiolis/gists{/gist_id}","starred_url":"https://api.github.com/users/BillBosiolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillBosiolis/subscriptions","organizations_url":"https://api.github.com/users/BillBosiolis/orgs","repos_url":"https://api.github.com/users/BillBosiolis/repos","events_url":"https://api.github.com/users/BillBosiolis/events{/privacy}","received_events_url":"https://api.github.com/users/BillBosiolis/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T08:47:16Z","updated_at":"2016-03-21T08:47:16Z","body":"Hi @soheilserver,\r\n\r\nI had a similar requirement. What I finally did was to use a custom view.\r\n\r\nTo be more specific, I have a custom View which contains a TabLayout and a ViewPager. This View is used for navigational purposes. Currently it is being used for tablet layouts (as the left part of the screen while the right one is showing content based on the selections on the left part).\r\n\r\nFor phone support, I needed to show this 'menu' view as a drawer. So, I am using the setCustomView() method. In essence, I am not using much of the MaterialDrawer lib functionality in this case as all its content is provided by this custom view but still it saves you a looot of time.\r\n\r\nI hope that helps.\r\n"}}