androidx.web


Web is a collection of modern APIs that can be used with android.webkit, androidx.webkit, and androidx.web.compose.

This package provides components to manage WebView state independently of the view hierarchy, allowing WebView state to outlive configuration changes.

Key components include:

Classes

DetachedWebContentView

A specialized WebContentView that represents a WebContent session which has been temporarily detached from the view hierarchy.

WebContent

WebContent can attach and detachs to outlive Activity lifetimes.

WebContent.Builder

Builder for WebContent.

WebContentView

This is a WebView that is created via WebContent.

WebFeature

Utility class for checking which Web features are supported on the device.