I'm new in Kotlin. I've red https://kotlinlang.org/docs/tutorials/android-plugin.html and noticed that views can be auto-binded to activity via importing
kotlinx.android.synthetic.main.activity_main.*.
If I declaring view with id = "btn_login" in Activity I can access to it via
activity.btn_login.setText("Login")
But. Is there any way to change alias to view, such as ButterKnife does :
@BindView(<id of view>)
<name of view>