Category: Java

Using StateMachine with enums in Java

It is a common sense for a developer to be using state-machine for their app, however, I realized that I haven’t been using state-machine for a long time so I thought that I need to implement the State-machine in my app. So I decided to replace an android toggle-button¬†that ¬†switched the view of the fragment with a single click with… Read more →