com.blogspot.applications4android.comicreader
Class ComicSelectUpdater
java.lang.Object
com.blogspot.applications4android.comicreader.ComicSelectUpdater
public class ComicSelectUpdater
- extends
Class responsible for downloading the comic-strip while displaying a progress dialog
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComicSelectUpdater
public ComicSelectUpdater()
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)