Files
tubestation/mobile/android/android-components/components/browser/session
Sebastian Kaspari d064a35e17 [components] Issue https://github.com/mozilla-mobile/android-components/issues/287: SessionManager: Add functionality for removing sessions, finding session and observing changes.
* This change removes ObservableList. This abstraction was only used by SessionManager and made things more
  complicated than easier.

* It's now possible to instantiate a SessionManager without any sessions. This is required for some of our
  apps that want to show specific UI elements when no session exists.

* Add an empty default implementation (Unit) to all Observer methods so that it is not required to override
  all of them.
2018-06-11 19:42:13 +02:00
..

Android Components > Browser > Session

A generic representation of a browser session.

Usage

Setting up the dependency

Use gradle to download the library from JCenter:

implementation "org.mozilla.components:session:{latest-version}

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/