title: How to load this URL into WebView?
body: <p>There is a rather specific webpage loaded into <code>WebView</code> which URL is like <code>http://www.site.com/mob/</code> (basically a mobile-optimized web page). This webpage display 25 articles only and on the bottom is a button "More articles". </p>
  
  <p>When a user presses it, I catch URL <code>http://www.site.com/Web/MobHomeItems.aspx?page=N</code> (where N is 2, 3, 4...) and after that another 25 items have been loaded on the same screen. </p>
  
  <p>Now, when I click on some article and go to article details, and later return to the page via the Back key, the <code>WebView</code> <strong>forgets how many articles have been loaded</strong> and simply loads the default page with 25 displayed articles. Imagine how frustrating this would be to a user if he came to 100th article. </p>
  
  <p>I tried overriding many methods in <code>WebClient</code> and in <code>WebChromeClient</code>, but so far I have been unable to load N number of pages loaded via "More Articles" button. For example, I first thought this would help, but it did not. </p>
  
  <pre><code>        @Override
          public void onLoadResource(WebView view, String url) {
  
              //http://www.site.com/Web/MobHomeItems.aspx?page=2
  
              if (url.contains("?page=")) {
  
                  //save this URL for later and on return from 
                 // article details, pass it to LoadResource()
  
              super.onLoadResource(view, url);
          }
  </code></pre>
  
  <p>Then I tried similar approach with other method - basically remembering how many pages have been loaded on the main page, and then on return from article details, simply tell webview to load this URL. </p>
  
  <p>Can anyone help me? How to append loaded pages to the main page? Should I use <code>JavaScript</code> here maybe?</p>
  
  <p>PS. Loading mentioned URL <code>http://www.site.com/Web/MobHomeItems.aspx?page=N</code> does not help as it loads this concrete page into the <code>WebView</code> only, and it does not append this Nth page to the main page. </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>As @Raghunandan asked, I do not have problems loading back to 1st page (<code>?page=1</code>). This is default when user presses Back button on article details. I want to load <strong>to the page where a user was before pressing article details</strong>. If he was on <code>?page=100</code>, I want to load back to that page e.g. I want to have 25x100 articles open. Again, default is always "open 25 articles or <code>?page=1</code> or <code>http://www.site.com</code>". </p>