I want to Update Text View ,spinner from AsycTask.Actually what i am doing
I Take the data from server and result return in json form then i parse JSON and populate the data in two Spinner and one textview.How can i update data when i am using Asyctask beacuse Textview Does not update..Here is my code sniped
TAG_CONFIG = "xyz"
TAG_CONFIG1 = "yyy"
JSONParser jParser = null;
JSONObject json = null;
jParser = new JSONParser();
json = jParser.getJSONFromUrl(url);
try {
// Getting Array of Contacts
contacts = json.getJSONArray(TAG_CONFIG);
for (int i = 0; i < contacts.length(); i++) {
JSONArray c = contacts.getJSONArray(i);
CompanyName = new String[c.length()];
for (int j = 0; j < c.length(); j++) {
CompanyName[j] = c.getString(j);
}
}
similar for tab_confg1...