我就随便玩玩

准备在这里记录一些事情

导航

2019年11月11日 #

android 第三方开源库 学习汇总之Butter Knife

摘要: 如果直接在App中使用,那么只需要在app的build.gradle中添加即可。 使用时,请在目标activity上调用 ButterKnife.bind(this); 用来绑定ButterKnife和Activity 具体使用: 绑定按钮 绑定文本输入框 阅读全文

posted @ 2019-11-11 15:15 我就随便玩玩也要起名 阅读(235) 评论(0) 推荐(0) 编辑

android Gradle下载慢,使用阿里镜像

摘要: 在Project下的 build.gradle添加阿里镜像 阅读全文

posted @ 2019-11-11 15:06 我就随便玩玩也要起名 阅读(1434) 评论(0) 推荐(0) 编辑

android 第三方开源库 学习汇总

摘要: 依赖注入框架ButterKnife https://github.com/JakeWharton/butterknife 学习过程 专注于android的View注入框架,并不支持其他方面的注入。可以减少大量的findViewById 以及 setOnClickListernnerDagger2 h 阅读全文

posted @ 2019-11-11 13:59 我就随便玩玩也要起名 阅读(190) 评论(0) 推荐(0) 编辑