Skip to content

Instantly share code, notes, and snippets.

@enijkamp
Created June 1, 2014 15:38
Show Gist options
  • Save enijkamp/337b7b00ba23ed8160af to your computer and use it in GitHub Desktop.
Save enijkamp/337b7b00ba23ed8160af to your computer and use it in GitHub Desktop.
class ParseTask extends AsyncTask<String, Void, ParseResult> {
protected ParseResult doInBackground(String url) {
URL url= new URL(url);
// do your network IO here
}
}
new ParseTask().execute(url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment