当使用Gson将Json响应转换为Class时,我们使用带有新TypeToken的Type Class。 Type listType = new TypeToken<ArrayList<ClassUsed>>(){}.getType();.
確定! 回上一頁