AsyncTask

Inheritance: java.lang.Object

public final class AsyncTask

Die statische Fabrikklasse zum Erstellen der asynchronen Aufgaben

Methoden

MethodeBeschreibung
create(AsyncTaskAction taskAction)Erstellt die asynchrone Aufgabe ohne Ergebnis.
create(AsyncTaskFunc taskFunc)Erstellt die asynchrone Aufgabe mit generischem Typ Ergebnis.

create(AsyncTaskAction taskAction)

public static IAsyncTask create(AsyncTaskAction taskAction)

Erstellt die asynchrone Aufgabe ohne Ergebnis.

Parameters:

ParameterTypBeschreibung
taskActionAsyncTaskActionDie Aufgabenaktion.

Returns: IAsyncTask - The asynchronous task

create(AsyncTaskFunc taskFunc)

public static IAsyncTask create(AsyncTaskFunc taskFunc)

Erstellt die asynchrone Aufgabe mit generischem Typ Ergebnis.

Parameters:

ParameterTypBeschreibung
taskFuncAsyncTaskFuncDie Aufgabenfunktion.

Returns: IAsyncTask - The asynchronous task