Skip to content

Instantly share code, notes, and snippets.

@danielmalone
Created November 29, 2016 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielmalone/93010d70c0c3aaba3a30ab9ff013e819 to your computer and use it in GitHub Desktop.
Save danielmalone/93010d70c0c3aaba3a30ab9ff013e819 to your computer and use it in GitHub Desktop.
private class MyCustomLongRunningTask extends AsyncTask<Void, Void, Void> {
private Context mContext;
private String mUrl;
public MyCustomLongRunningTask(Context mContext, String mUrl) {
this.mContext = mContext;
this.mUrl = mUrl;
}
@Override
protected Void doInBackground(Void... voids) {
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment