Result.java:变量显示空值吗?

时间:2018-09-22 05:59:08

标签: android arrays android-recyclerview retrofit

这是我的模型中的Result.java文件,它是用Google API以及G0etter和Setter方法制成的。但是,当我从Result.java类中获取值时,它显示为null。

private String icon;
private String place_id;
private Reviews[] reviews;
private String scope;
private String rating;
private String phone;
private String website;
private String international_phone_number;
private String adr_address;
private String url;
private String reference;
private Geometry geometry;
private OpeningHours open_hours;
private String utc_offset;
private String id;
private Photo[] photo;
private String vicinity;
private Address_components[] address_components;
private String name;
private String formatted_address;
private String formatted_phone_number;
private String[] types;

0 个答案:

没有答案