public class DeleteTracksTask
extends android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Integer>
Constructor and Description |
---|
DeleteTracksTask(MapView mapView,
int trackId,
boolean showProgress) |
DeleteTracksTask(MapView mapView,
java.util.List<java.lang.Integer> trackIds,
boolean showProgress) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
doInBackground(java.lang.Void... params) |
protected void |
onCancelled(java.lang.Integer deleted) |
protected void |
onPostExecute(java.lang.Integer deleted) |
protected void |
onPreExecute() |
protected void |
onProgressUpdate(java.lang.Integer... v) |
public DeleteTracksTask(MapView mapView, java.util.List<java.lang.Integer> trackIds, boolean showProgress)
public DeleteTracksTask(MapView mapView, int trackId, boolean showProgress)
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Integer>
protected java.lang.Integer doInBackground(java.lang.Void... params)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Integer>
protected void onProgressUpdate(java.lang.Integer... v)
onProgressUpdate
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Integer>
protected void onCancelled(java.lang.Integer deleted)
onCancelled
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Integer>
protected void onPostExecute(java.lang.Integer deleted)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Integer>