title: How to display a dialog from a non-activity class in Android?
body: <p>Well, I dont need it to be a dialog, actually. It might be some alternative... I just want to notify the user that its "Loading..."</p>
  
  <p>I have a class that extends AsyncTask, inside of another taks.</p>
  
  <p>onPreExecute I want to display "Loading..." and
  onPostExecute I want to dismiss it.</p>
  
  <p>The only way I could think of doing that is via a dialog.</p>
  
  <p>Problem is, dialog needs a context passed to its constructor, and this class is just a data transmitter so its not an activity.</p>
  
  <p>What do I do?</p>