Loading

摘要: 有时,需要将int这样的基本类型转换为对象。所有的基本类型都有一个与之对应的类。例如,Integer类对应基本类型int。通常,这些类称为包装器(wrapper)。这些对象包装器拥有很明显的名字:Integer、Long、Float、Double、Short、Byte、Character、Void和 阅读全文
posted @ 2021-03-29 23:01 hengx 阅读(60) 评论(0) 推荐(0) 编辑
摘要: (at 'style' with value '@android:style/TextAppearance.*.*.*'). Android中没有公开的资源,在xml中直接引用会报错。除了去找到对应资源并拷贝到我们自己的应用目录下使用以外,我们还可以将引用“@android”改成“@*android 阅读全文
posted @ 2021-03-29 09:33 hengx 阅读(610) 评论(0) 推荐(0) 编辑