Gson gson = new Gson();Listlist=gson.fromJson(response.body().toString(), new TypeToken
>(){}.getType());callback.onSuccess(list);
本文共 220 字,大约阅读时间需要 1 分钟。
Gson gson = new Gson();Listlist=gson.fromJson(response.body().toString(), new TypeToken
>(){}.getType());callback.onSuccess(list);
转载于:https://my.oschina.net/wfy94/blog/3037062