Что я должен сделать, чтобы добавить новые TextViews (с текстом "inf1" и "inf2" из кода) в существующий линейный макет из метода onPostExecute в AsyncTask?
protected void onPostExecute(String response) {
String inf1="";
String inf2="";
try {
JSONObject jsonObject =new JSONObject(response);
JSONArray result = jsonObject.getJSONArray("result");
for(int x=0; x < result.length(); x++) {
JSONObject collegeData = result.getJSONObject(x);
inf1 = collegeData.getString("title");
inf2 = collegeData.getString("text");
// Here I want to put these "inf1" and "inf2 strings into
// textviews and add these textviews into an existing linear layout
// with id: feedFetch"
}
} catch (JSONException e) {
e.printStackTrace();
}
}