findViewById

In Kotlin you may skip and not use the findViewById( ) and still be able to refer to UI components defined in XML Layout file. There is another way. You will need to do a couple of things first:  Edit your Module/ app level build.gradle file Import the data binding library into the Kotlin file (Don’t worry,…

Read More You may skip and not use the findViewById( ) in Kotlin