Kotlin is a very nice language for JVM. I wrote about it in the past. Anvil is a very nice UI library for Android. How do these two play together? The first attempt My favourite example to demonstrate Anvil syntax is a simple click counter. It demonstrates the use of layouts, views, data binding and event binding. In Java it looks like this: public ViewNode view() { return v(LinearLayout.class, orientation(LinearLayout.VERTICAL), v(TextView.