I need to change the text color of some specific items of the listview.
lstdetails = (ListView) findViewById(R.id.lstdetails);
ListAdapter adapter = new SimpleAdapter(
Details.this, details_list,
R.layout.Details, new String[] {
"lecture_key", "date",
"total_lect_int", "attendance" },
new int[] { R.id.tvKey, R.id.tvdate,
R.id.tvtotallect, R.id.tvattendance });
lstdetails.setAdapter(adapter);
Text color needs to be changed on the basis of the value of R.id.tvattendance
The above snippet is in the onPostExecute function of the class extending AsyncTask