Gson解析json绑定到listview|Gson解析json绑定到listview 出学安卓,求大神指导

实体类也写好了,下面是volley 和Gson的代码数据已经可以成功打印出来,现在就是不知道怎么把他绑定到listview里,我的数据全是textview 应该不用baseadapter吧,要是用的话 里面又要怎么调用这个类里的Gson呢, 刚接触安卓不久,大神们棒棒忙
String urlGongshipost = "http://111.203.21.5:95/api/ins/gongshi";
Map mapheader = new HashMap();
mapheader.put("deviceId",tm.getDeviceId());
mapheader.put("deviceName", "Android");
mapheader.put("osName","Android" );
mapheader.put("osVersion", osVersion);
mapheader.put("versionCode", versionCode);
mapheader.put("key", "");
mapheader.put("cmd", "");
JSONObject jsheader = new JSONObject(mapheader);
Map map = new HashMap();
map.put("TotalCount", true);
map.put("TodayCount", true);
map.put("pageIndex", "3");
map.put("pageSize", "4");
map.put("header",jsheader);
JSONObject jsgongshi = new JSONObject(map);
JsonObjectRequest jor = new JsonObjectRequest(Method.POST,
urlGongshipost, jsgongshi, new Listener() {
@Override
public void onResponse(JSONObject response) {
// 成功回调
Log.i("-------------", response.toString());
Gson(response.toString());
}
}, new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
// 失败回调
Log.i("-------------", error.toString());
}
})
{
@Override
public Map getHeaders() throws AuthFailureError {
HashMap headers = new HashMap();
headers.put("ApiKey", "5283C510-D667-4FBF-BBFA-EFC1806168D0");
//headers.put("sign", iQiyiInterface.getSign());
// MyLog.d(TAG, "headers=" + headers);
return headers;
}
};
MyApplication.getHttp().add(jor);
}
private void Gson(String a) {
Gson gs = new Gson();
GongshiList Gongshi = gs.fromJson(a, GongshiList.class);
}

    推荐阅读