Introduce View State Manager (VSM) model to persist UI state though configuration changes and application flow. This object should be a singleton injected by Dagger into presenters that maintains view state when presenter and controller are destroyed and recreated. Its data should be used to restore the proper UI state based on application lifecycle events.
Introduce View State Manager (VSM) model to persist UI state though configuration changes and application flow. This object should be a singleton injected by Dagger into presenters that maintains view state when presenter and controller are destroyed and recreated. Its data should be used to restore the proper UI state based on application lifecycle events.