Created
January 2, 2014 21:51
-
-
Save hboregio/8227636 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MiAsyncTask extends AsycTask<Void, Void, Void> { | |
private Callback mCallback; | |
public MiAsyncTask(Callback aCallback) { | |
mCallback = aCallback; | |
} | |
protected Void doInBackground(Void... params) { | |
// hacemos nuestras operaciones aca | |
} | |
protected void onPostExecute(Void result) { | |
mCallback.finished(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment