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:
-
WebContent: Persistent web engine session state that can safely outlive individual UI views orActivities. -
WebContentView: SpecializedWebViewdesigned to integrate withWebContent. -
DetachedWebContentView: SpecializedWebContentViewthatWebContentattaches to when not attached to anActivity. -
WebFeature: Utility for checking the runtime availability of newer Web APIs.
Classes
DetachedWebContentView |
A specialized |
WebContent |
|
WebContent.Builder |
Builder for |
WebContentView |
This is a |
WebFeature |
Utility class for checking which Web features are supported on the device. |