class ToolbarPresenter : SelectionAwareSessionObserver (source)
Presenter implementation for a toolbar implementation in order to update the toolbar whenever the state of the selected session changes.
| ToolbarPresenter(toolbar: Toolbar, sessionManager: SessionManager, sessionId: String? = null)Presenter implementation for a toolbar implementation in order to update the toolbar whenever the state of the selected session changes. | 
| open var activeSession: Session?the currently observed session | 
| fun onProgress(session: Session, progress: Int): Unit | |
| fun onSearch(session: Session, searchTerms: String): Unit | |
| fun onSecurityChanged(session: Session, securityInfo: SecurityInfo): Unit | |
| fun onSessionSelected(session: Session): UnitA new session has been selected: Update toolbar to display data of new session. | |
| fun onUrlChanged(session: Session, url: String): Unit | |
| fun start(): UnitStart presenter: Display data in toolbar. | 
| fun observeFixed(session: Session): UnitStarts observing changes to the specified session. | |
| fun observeSelected(): UnitStarts observing changes to the selected session (see SessionManager.selectedSession). If a different session is selected the observer will automatically be switched over and only notified of changes to the newly selected session. | |
| open fun stop(): UnitStops the observer. |