ButterKnife with Kotlin
Butter Knife With Kotlin (No Need) Butter Knife Butter knife is a little and light weight library used to inject android components using annotation processing If you android app using Kotlin then there is no need for butter knife or findviewbyid , we can simple use view id as view object as in example below Textview layout < TextView android:id="@+id/textview" android:layout_width="match_parent" android:layout_height="55dp" android:gravity="center" android:text="Hello World!" android:textAlignment="center" android:textAllCaps="true" android:textColor="@color/colorPrimary"/> In the above textview we set textview as id for the textview view we can change color , settext etc,. //you can use this on any methods in lifecycle no need to instantiate the view textview.setTextColor(Color. RED ) textview. text = "this text setted programati...