https://kotlinlang.org logo
#android
Title
# android
n

nemi

10/30/2018, 12:30 PM
The issue is that the stub generated for
Foo
when building with 1.2.71 looks like this
Copy code
public final class Foo {
    @org.jetbrains.annotations.Nullable()
    @butterknife.BindView(value = hu.nemi.binder.R2.id.someText)
    public android.widget.TextView someText;
    
    public final void bind(@org.jetbrains.annotations.NotNull()
    android.app.Activity activity) {
    }
    
    public Foo() {
        super();
    }
}
Where as with 1.3.0 it looks like this
Copy code
public final class Foo {
    @org.jetbrains.annotations.Nullable()
    @butterknife.BindView(value = 2131492945)
    public android.widget.TextView someText;
    
    public final void bind(@org.jetbrains.annotations.NotNull()
    android.app.Activity activity) {
    }
    
    public Foo() {
        super();
    }
}
Notice the annotation on the
someText
field