Last active
June 16, 2020 11:01
-
-
Save noln/4853bfe0908f87dee41f to your computer and use it in GitHub Desktop.
A basic anonymous AsyncTask with void return and no pre/post method.
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
new AsyncTask<Integer, Void, Void>(){ | |
@Override | |
protected Void doInBackground(Integer... params) { | |
// main logic | |
return null; | |
} | |
}.execute(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment