Last active
July 7, 2017 03:53
-
-
Save BramYeh/eb763d74c1908c593fb42cd2e5223199 to your computer and use it in GitHub Desktop.
Sample of Optimized Aclass
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
Class Aclass { | |
private void methodToOptimize() { | |
Cclass cclass = new Cclass(); | |
new AsyncTask<Cclass, Void, Void>() { | |
@Override | |
protected Void doInBackground(Cclass... params) { | |
return null; | |
} | |
}.execute(new Cclass[]{cclass}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment