I'm trying to create a Enum STATE pattern so I can set the current state of my operations. In C# (i think) I used this pattern:
Enum State { STARTED, STOPPED, PAUSED };
State _s;
public foo() {
_s = State.STARTED;
}
I did read somewhere that you shouldn't or couldn't use Enum in Android. How can I replicate this design pattern in Android?