title: Android/Java: onProgressUpdate() not being called?
body: <p>I've read similar threads on here, even googled but no solution.</p>
  
  <p>onProgressUpdate() is just not being called.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>public class DoHardWork extends AsyncTask {
  
      @Override
      protected Object doInBackground(Object... params) {
  
  
          publishProgress("Requesting XML data");
          this.requestData();
  
          publishProgress("Returning results");
          this.returnResults();
  
          return null;
      }
  
  
  
      protected void onProgressUpdate(String text) {
          super.onProgressUpdate(text);
          MainActivity.setLog(text);
      }
  }
  </code></pre>
  
  <p>I tried setting a breakpoint in onProgressUpdate() and it's never called. It's like the code is just ignored.</p>
  
  <p>Someone had a similar problem and it turned out to be just eclipse just messing with him but i tried restarting it with no success.</p>
  
  <p>Any ideas?</p>