How to use View Binding in Android?

bye bye findViewById().....

0 318

In this tutorial, we are going to show you how you can use android new feature View Binding in your android application and what are it’s advantage.

Before using this feature, you should fulfill certain requirement. First, you have to have an Android Studio version 3.6 canary 11+ in your system. Second, you have to have android gradle plugin 3.6 or higher. After updating your android studio to 3.6 and gradle version to 3.6, you are ready to use this new feature. So let’s do it.


  1. cast exception.
  2. it is faster compilation and easy to use.

if you have any confusion watch the video: