Class AsyncTask

java.lang.Object
org.oscim.utils.async.Task
org.oscim.utils.async.AsyncTask
All Implemented Interfaces:
Runnable

public abstract class AsyncTask extends Task
  • Constructor Details

    • AsyncTask

      public AsyncTask()
  • Method Details

    • run

      public void run()
      Do not override! Unless you have a reason, of course.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Task
    • go

      public abstract int go(boolean canceled)
      Executed on worker thread.
      Specified by:
      go in class Task
      Returns:
      Task.DONE on success, Task.ERROR otherwise
    • onPostExecute

      public abstract void onPostExecute(int state)
      Executed on mainloop thread.