android-components / mozilla.components.support.base.feature

Package mozilla.components.support.base.feature

Types

Name Summary
BackHandler interface BackHandler
Generic interface for fragments, features and other components that want to handle ‘back’ button presses.
LifecycleAwareFeature interface LifecycleAwareFeature : LifecycleObserver
An interface for all entry points to feature components to implement in order to make them lifecycle aware.
ViewBoundFeatureWrapper class ViewBoundFeatureWrapper<T : LifecycleAwareFeature>
Wrapper for LifecycleAwareFeature instances that keep a strong references to a View. This wrapper is helpful when the lifetime of the View may be shorter than the Lifecycle and you need to keep a reference to the LifecycleAwareFeature that may outlive the View.