January 2018
Intermediate to advanced
434 pages
14h 1m
English
To include Butterknife in your project, follow the given steps:
apply plugin: 'kotlin-kapt' dependencies { ... compile "com.jakewharton:butterknife:$butterknife-version" kapt "com.jakewharton:butterknife-compiler:$butterknife-version" }
@BindView(R.id.headline) TextView headline;
In Kotlin, we can do it as follows:
@BindView(R.id.headline) lateinit var headline: TextView
Note that we've ...
Read now
Unlock full access