title: How to put swipe tab views inside one of navigation drawer option
body: <p>Updated code:</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      View rootView = inflater.inflate(R.layout.fragment_home, container, false);
      viewPager = (ViewPager)view.findViewById(R.id.base_pager);
      FragmentManager manager = getChildFragmentManager();
      viewPager.setAdapter(new MyFragmentPagerAdapter(manager));  
      return rootView;
  }
  
  
  
  
  class HomeFragment extends FragmentPagerAdapter {
  
      public HomeFragment(FragmentManager fm) {
          super(fm);
          // TODO Auto-generated constructor stub
      }
  
      @Override
      public android.support.v4.app.Fragment getItem(int item) {
          // TODO Auto-generated method stub
          android.support.v4.app.Fragment fragment = null;
          if (item == 0) {
              //MapFragment.message("Map");
              fragment = new MapFragment();
          } else if (item == 1) {
              //SavedLocationsFragment.message("locations");
              fragment = new MapFragment();
          } /*else if (item == 2) {
          fragment = new FragmentC();
      }*/
          return fragment;
      }
  
      @Override
      public int getCount() {
          // TODO Auto-generated method stub
          return 2;
      }
  
      @Override
      public CharSequence getPageTitle(int position) {
          // TODO Auto-generated method stub
          String title = new String();
          if (position == 0) {
              title = "Map";
          } else if (position == 1) {
              title = "savedLocations";
          }
          return title;
      }
  
  }
  </code></pre>
  
  <p>I am getting error on this onCreateView method;</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      View rootView = inflater.inflate(R.layout.fragment_home, container, false);
      viewPager = (ViewPager)view.findViewById(R.id.base_pager);
      FragmentManager manager = getChildFragmentManager();
      viewPager.setAdapter(new MyFragmentPagerAdapter(manager));  
      return rootView;
  }
  </code></pre>
  
  <p>The error are;</p>
  
  <ul>
  <li>The annotation @Override is disallowed for this location  </li>
  <li>Syntax error on token "View", @ expected</li>
  <li>Syntax error on token "LayoutInflater", = expected after this token</li>
  <li>Syntax error on token "ViewGroup", = expected after this token</li>
  <li>Syntax error on token "Bundle", = expected after this token</li>
  </ul>