The official documentation never mentions adding a dependency for data binding and neither does the sunflower app (which implements best practices) use it.
However, everywhere else I look (also here) I see people mentioning to add the following (but never really explaining):
dependencies {
...
kapt "com.android.databinding:compiler:$compiler_version"
}
I found this and my understanding is that the line above will help to reduce the apk size of the app. Is that really the case? Are there other benefits or should I just ignore this as the official docs and resources have?