title: Android WebView how to go to url
body: <p>i have downloaded this <a href="http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/" rel="nofollow noreferrer">http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/</a> project and now i want for each tab to load the url
   i have this code and instead of return new xxxFragment(); to do an webview go to url</p>
  
  <pre><code>@Override
  public Fragment getItem(int index) {
  
      switch (index) {
      case 0:
          // Top Rated fragment activity
          return new TopRatedFragment();
      case 1:
          // Games fragment activity
          return new GamesFragment();
      case 2:
          // Movies fragment activity
          return new MoviesFragment();
      }
  
      return null;
  }
  </code></pre>
  
  <p>i have an xml layout for each tab 
  <img src="https://i.stack.imgur.com/6wFex.png" alt="image"></p>