阅读背景:

Android中的TypeArray——如何在xml中存储自定义对象并检索它们?

来源:互联网 

I have a class like

我有一门课

public class CountryVO {
    private String countryCode;
    private String countryName;
    private Drawable countryFlag;

    public String getCountryCode() {
        return countryCode;
    }
    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }
    public String getCountryName() {
        return countryName;
    }
    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }
    public Drawable getCountryFlag() {
        return countryFlag;
    }
    public void setCountryFlag(Drawable countryFlag) {
        this.countryFlag = countryFlag;
    }
}
public class Coun



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: