- 博客(3)
- 收藏
- 关注
原创 Android 控件BottomNavigationView的使用
一、项目的导入在build引入:implementation 'com.android.support:design:26.1.0'后面的版本号根据SDK的版本改写如:implementation 'com.android.support:appcompat-v7:26.1.0'则使用“26.1.0”二、现在我们可以用一个例子来说明: 1.先activity_...
2018-10-25 19:52:25 794 1
原创 图片加载库Glide的使用
1.在Android的gradle导入:repositories { mavenCentral() google()}dependencies { implementation 'com.github.bumptech.glide:glide:4.8.0' annotationProcessor 'com.github.bumptech.glide:compiler:4...
2018-10-24 17:12:55 378
原创 dagger2的使用
1.dagger2是what?dagger2是一个依赖注入的框架,现在是由Google进行维护2.什么是依赖注入依赖注入是面向对象编程的一种设计模式,其目的是为了降低程序耦合,这个耦合就是类之间的依赖引起的.example: public class ClassA{ private ClassB b public ClassA(ClassB ...
2018-10-23 15:17:59 368
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人