概述
- 强类型语言,静态类型。语法类似于 Java
- 支持两种编译模式:
- JIT: 即时编译,开发期间做到更快的编译和更快的代码重载。但也有劣势就是在运行时需要将代码编译为机械码,那么直观感受就是慢,所以我们在开发期间有时候会发现卡顿,但是打 release 包之后效果会变好。
- AOT: 事前编译,release 期间已经编译为二进制代码,所以加载会更快更流畅。
Make RecyclerView.Adapter simpler
Support MutilType Layout , Kotlin, Functional Programming
Include the library in your build.gradle
1 | dependencies{ |
Github : https://github.com/lzdon/SKAdapter
Activity -> PhoneWindow -> DecorView -> ViewGroup -> ... -> View
Activity <- PhoneWindow <- DecorView <- ViewGroup <- ... <- View