Open Sathawale27 opened 6 years ago
Seems like the solution is to create the listener as a local and then pass it to every view. This optimization would work for any listener.
@JakeWharton can I work on this?
Go for it
On Thu, Sep 13, 2018 at 2:52 PM MONIKA-KUMAR-JETHANI < notifications@github.com> wrote:
@JakeWharton https://github.com/JakeWharton can I work on this?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/JakeWharton/butterknife/issues/1242#issuecomment-421113567, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEEYcSiw9oGcWpUsfCyT7XzwqJ4lM5ks5uaqlsgaJpZM4TLHwZ .
When we use
@OnTextChanged
annotation on function with more than two id's as value, then generated code contains separateTextWatcher
for each view and passes separately to the viewsaddTextChangedListener
. I don't know the solution for this optimization, but if it is possible i will give it a try.