com.blogspot.applications4android.comicreader
Class ComicSelectUpdater

java.lang.Object
  extended by 
      extended by com.blogspot.applications4android.comicreader.ComicSelectUpdater

public class ComicSelectUpdater
extends

Class responsible for downloading the comic-strip while displaying a progress dialog


Constructor Summary
ComicSelectUpdater()
           
 
Method Summary
protected  java.lang.Void doInBackground(java.lang.String... arg0)
          Main function responsible for downloading the strip in another thread
protected  void onPostExecute(java.lang.Void arg0)
           
protected  void onPreExecute()
           
protected  void onProgressUpdate(java.lang.Void... arg0)
           
 void setActivity(ComicStripViewer a)
          Set the activity upon which to display the progress dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComicSelectUpdater

public ComicSelectUpdater()
Method Detail

setActivity

public void setActivity(ComicStripViewer a)
Set the activity upon which to display the progress dialog

Parameters:
a - the desired activity

doInBackground

protected java.lang.Void doInBackground(java.lang.String... arg0)
Main function responsible for downloading the strip in another thread

Parameters:
arg0[0] - the comic url of interest
Returns:
the desired comic-strip

onPreExecute

protected void onPreExecute()

onPostExecute

protected void onPostExecute(java.lang.Void arg0)

onProgressUpdate

protected void onProgressUpdate(java.lang.Void... arg0)