Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created Dec 28, 2017
Embed
What would you like to do?
protected void onPostExecute(String s) {
super.onPostExecute(s);
if (s != null) {
try {
JSONArray scheduleJsonList = new JSONArray(s);
RoutesAdapter mAdapter = new RoutesAdapter(scheduleJsonList);
mRoutesList.setAdapter(mAdapter);
} catch (JSONException e) {
Log.e(TAG, e.getMessage());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment