1

Comments not showing in ListView inside Asynctask - android

view story
linux-howto

http://stackoverflow.com – I have an AsyncTask that uses a JSON function to get comments in the doInBackground method. It then sends the array of comments to onPostExecute where it places the JSONArray into a String[] then is places the string into setListAdapter. The code doesn't crash and everything seems to work right but the comments are not being shown inside the Activity. class loadComments extends AsyncTask<JSONObject, String, JSONObject> { @Override protected JSONObject doInBackground(JSONObject... params) { final JSONObject json2 = CollectComments.collectComments(usernameforcomments, (HowTos)