I'm starting to play with Android binding. The standard (1-way) binding is to the point of being good enough for the people I hang out with.
However, I find that I can't use Lombok accessors without a Could not find accessor
error. Have you found a way around this, shy of manually writing getters and setters like some kind of Lombok-ignorant cavebeast?
@Bindable
@Getter @Setter
private String stringField;
//Must uncomment hand-coded accessors to compile!
//public String getStringField() { return stringField;}
//public void setStringField(String s) { stringField = s;}
For posterity, my original sample code was using a boolean, which clouds the issue a little:
@Bindable
@Getter @Setter private boolean showpassword = false;
/* This only compiles if the handcoded accessors are uncommented.
public boolean getShowpassword() {
return showpassword;
}
public void setShowpassword(boolean b) {
showpassword = b;
}
*/