how to add more than 4 states?
xellDart opened this issue · 5 comments
i need nine states for this
Hi @xperiafan13-rom , thanks for reaching out. You can currently add a maximum of five states. I am currently working on the ability to add infinite(N) number of states. This feature will be available soon. I am considering the possibility of giving you an early exclusive preview(Not full features but a working solution). I will keep you posted on that.
You need to make changes like below. Till the time, kofigyan completes the next version, you can use below work around.
public enum StateNumber {
ONE(1), TWO(2), THREE(3), FOUR(4), FIVE(5), SIX(6), SEVEN(7), EIGHT(8);
private int value;
StateNumber(int value) {
this.value = value;
}
public int getValue() {
return value;
}
}
If your work has finished of adding more then 5 states, please commit changes.
someone plz fork and fix this !!
need to use the same Lib for 7 states!