A
A
Anna2015-02-26 11:01:21
Android
Anna, 2015-02-26 11:01:21

How to correctly switch the UI state within the same Activity?

There is an Activity in which there are about five UI states, depending on which individual UI elements are shown and animations are started. In addition, not every state can be switched to another. In general, FSM in its purest form.
Question: how to implement it correctly for Android (4+)? Whether there are standard means, or sensible library? Googling didn't turn up anything meaningful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Voronov, 2015-02-26
@newross

Using fragments should help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question