title: ProgressDialog wont show onPreExecute in my asynctask?
body: <p>Ive looked at some questions and non answer the problem im having..</p>
  
  <p>I have this asyncTask...</p>
  
  <pre><code>  private class LoadData extends AsyncTask&lt;Void, Void, Void&gt;{
  
  
  
      protected Void onPreExecute(Void...arg0){
          super.onPreExecute();
  
          ProgressDialog dialog = ProgressDialog.show(shoppingClass.this, "", 
                  "Loading. Please wait...", true);
          dialog.show();
  
          return null;
  
      }
      @Override
      protected Void doInBackground(Void... params) {
          item = we.getText().toString();
          getUserPreference();
          itemLookup.loadUrl(url);
          return null;
      }
      @Override
      protected void onPostExecute(Void notused){
          itemLookup.setVisibility(View.VISIBLE);
  
      }
  
  }
  </code></pre>
  
  <p>The problem is the progessDialog is not showing up? I dont know why...Im doing everything write according to the documentation.</p>