Search code examples
androidmethodsviewcallbackbutterknife

Why use "ButterKnife" in my app to bind callbacks to methods?


In a sense of improvement, when should I Bind Android views and callbacks to fields and methods? // http://jakewharton.github.io/butterknife/


Solution

  • when should I Bind Android views and callbacks to fields and methods

    When you can. This lib reduces boilerplate code like findViewById() or setOnClickListener(). You will gain in readability too.

    But like @Angelina said, ButterKnife is not useful in Kotlin