摘要: 如果使用SharedPreferences用于数据存取,大部分人喜欢使用如下代码:[java]view plaincopypublicvoidwriteSharedprefs(intpos){SharedPreferencespreferences=getApplicationContext().g... 阅读全文
posted @ 2015-09-03 00:52 牧之丨 阅读(2110) 评论(0) 推荐(0) 编辑
摘要: ButterKnife是一个Android View注入的库。1.开始使用1.1 配置Eclipse在使用ButterKnife需要先配置一下Eclipse。项目右键-Properties-Java Complier-Annotation Processing 确保设置和下图一致接着展开Annota... 阅读全文
posted @ 2015-09-03 00:06 牧之丨 阅读(2101) 评论(0) 推荐(0) 编辑