20. Why it has weird naming?
● Create for long time ago
● Hard to fix--legacy code
● All support version have to be the same
dependencies {
implementation ‘com.android.support:animated-vector-drawable:27.0.2’
implementation ‘com.android.support:customtabs:26.1.0’
}
21. Hint error message
All com.android.support libraries must use the exact same version specification (mixing
versions can lead to runtime crashes). Found versions 27.0.2, 26.1.0. Examples include
com.android.support:animated-vector-drawable:27.0.2 and
com.android.support:customtabs:26.1.0
there are some combinations of libraries, or tools and libraries, that are incompatible, or can
lead to bugs. One such incompatibility is compiling with a version of the Android support
libraries that is not the latest version (or in particular, a version lower than your
targetSdkVersion.)
67. KOTLIN KOTLIN + ANDROID KTX
val uri = Uri.parse(myUriString) val uri = myUriString.toUri()
68. KOTLIN KOTLIN + ANDROID KTX
for (i in 0..view.childCount) {
doSomething(i, view[i])
}
view.children.forEachIndexed {
i, v -> doSomething(i, v)
}
69. More
● HEIF Writer provides support for writing HEIF-format still images. (High
Efficiency Image File Format)
● Design Library Theme.MaterialComponents
● Browser actions provides a protocol for app developers to launch a
consistent
● ListAdapter for RecyclerView (along with AsyncListDiffer)
● SortedList.ReplaceAll
● https://goo.gl/vrDRXy
73. AndroidX
● Big refactor from Support Library
● Artficats, Naming, Package
● Technical gaurantee
● Some features in Jetpack
● More cool features will make you life easier