Created
June 1, 2014 15:38
-
-
Save enijkamp/337b7b00ba23ed8160af to your computer and use it in GitHub Desktop.
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 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