android-components / mozilla.components.browser.session.ext

Package mozilla.components.browser.session.ext

Extensions for External Classes

Name Summary
android.util.AtomicFile  

Functions

Name Summary
observe fun BrowserStore.observe(owner: LifecycleOwner, receiveInitialState: Boolean = true, observer: Observer): Subscription
Registers an Observer function that will be invoked whenever the state changes. The BrowserStore.Subscription will be bound to the passed in LifecycleOwner. Once the Lifecycle state changes to DESTROYED the Observer will be unregistered automatically.fun BrowserStore.observe(view: View, observer: Observer, receiveInitialState: Boolean = true): Subscription
Registers an Observer function that will be invoked whenever the state changes. The BrowserStore.Subscription will be bound to the passed in View. Once the View gets detached the Observer will be unregistered automatically.