Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created Dec 28, 2017
Embed
What would you like to do?
private class OdjazdQueryTask extends AsyncTask<URL, Void, String> {
@Override
protected void onPostExecute(String s) {
super.onPostExecute(s);
if (s != null) {
mTextView.setText(s);
}
}
@Override
protected String doInBackground(URL... urls) {
URL url = urls[0];
return makeOdjazdQuery(url);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment