drabu / state-driven-ui-android Goto Github PK
View Code? Open in Web Editor NEW๐ฅ A simple design were you separate different states of the UI in different classes which and the state. This not only helps in allocating single responsibility to classes but also makes you design open for extensions for when adding new states. The states also enclose data-set required for their operation.