Hi Java Doctors i have a small issue.I have this enum :
and this method.
I want to be able to imemplement.
How to do this ?
B4X:
public enum Mode {
FirstMode, SecondMode;
}
B4X:
public void setMode(Mode mode) {
mMode = mode;
}
B4X:
MyObject.Mode = Mode.FirstMode
MyObject.Mode = Mode.SecondMode
How to do this ?