tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Multisession-architecture.md (2004B)


Multisession Architecture

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.