I have a code which does following -
If you just want to display a list of textViews you don't need to override anything, you can just add all of the items into an arrayList and use an arrayAdapter.
Put a list view in your xml that is named android:list and then create your arrayAdapter with the textView you want to use.
After that all you have to do is call setListAdapter(mArrayAdapter) and it should populate your list.
ArrayList items = new ArrayList();
for(int i=0; i < jArray.length() ; i++) {
json_data = jArray.getJSONObject(i);
int id=json_data.getInt("id");
String name=json_data.getString("name");
items.add(name);
Log.d(name,"Output");
}
ArrayAdapter mArrayAdapter = new ArrayAdapter(this,
android.R.layout.simple_expandable_list_item_1, items));
setListAdapter(mArrayAdapter)
hope this helps!