Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Multisession architecture

Sebastian Kaspari edited this page Aug 22, 2017 · 5 revisions

To support multiple simultaneous browsing sessions the architecture of Focus has been refactored to strictly separate sessions (and associated data) from the UI that displays this data.

Sessions are managed by a global SessionManager instance. UI components display data hold by Session objects.

The new multisession architecture makes use of Android's Architecture Components. The list of sessions in the SessionManager and the data inside a Session is returned as LiveData objects. UI components can observe those LiveData objects for changes and update the UI state if needed.

Clone this wiki locally