我在使用改造电话进行解析时遇到问题。这个不重复的问题。我尝试了很多谷歌搜索,也尝试了许多解决方案,但在我的情况下不起作用。因此,请不要对此问题投反对票。
我也制作了pojo类,但是没有绑定方法。数据
public class Data {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("name")
@Expose
private String name;
@SerializedName("symbol")
@Expose
private String symbol;
@SerializedName("website_slug")
@Expose
private String websiteSlug;
@SerializedName("rank")
@Expose
private Integer rank;
@SerializedName("circulating_supply")
@Expose
private Double circulatingSupply;
@SerializedName("total_supply")
@Expose
private Double totalSupply;
@SerializedName("max_supply")
@Expose
private Double maxSupply;
@SerializedName("quotes")
@Expose
private Quotes quotes;
@SerializedName("last_updated")
@Expose
private Integer lastUpdated;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public …Run Code Online (Sandbox Code Playgroud)