title: Android: progress wheel error
body: <p>Goodevening, im trying to create a progress spinning wheel when an onClick function start but i got an error from eclipse and seems it won't work.</p>
  
  <p>here is my code</p>
  
  <pre><code>    hwdebug.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              ProgressDialog MyDialog = ProgressDialog.show( this, "TEST" , "Loading. Please wait ... ", false);
                    // FUNCTION
              MyDialog.dismiss();
                                      }
      }
  </code></pre>
  
  <p>The error im getting from eclipse is that:</p>
  
  <blockquote>
    <p>The method show(Context, CharSequence, CharSequence, boolean) in the
    type ProgressDialog is not applicable for the arguments (new
    View.OnClickListener(){}, String, String, boolean)</p>
  </blockquote>
  
  <p>Any suggestion? Thanks :)</p>