Skip to content

Instantly share code, notes, and snippets.

@BramYeh
Last active July 6, 2017 14:38
Show Gist options
  • Save BramYeh/8b96399e1fc0048f2d41c58792a5aad9 to your computer and use it in GitHub Desktop.
Save BramYeh/8b96399e1fc0048f2d41c58792a5aad9 to your computer and use it in GitHub Desktop.
Sample for Bclass
Class Bclass {
static class Cclass {
}
public void methodCalledOnce() {
Cclass cclass = new Cclass();
new AsyncTask<Cclass, Void, Void>() {
@Override
protected Void doInBackground(Cclass... params) {
return null;
}
}.execute(cclass);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment