Web View
A wrapper around the Android View WebView to provide a basic WebView composable.
If you require more customisation you are most likely better rolling your own and using this wrapper as an example.
Samples
Parameters
The webview state holder where the Uri to load is defined.
Set to true to have this Composable capture back presses and navigate the WebView back.
An optional navigator object that can be used to control the WebView's navigation from outside the composable.
Called when the WebView is first created, this can be used to set additional settings on the WebView. WebChromeClient and WebViewClient should not be set here as they will be subsequently overwritten after this lambda is called.
Provides access to WebViewClient via subclassing
Provides access to WebChromeClient via subclassing
An optional WebView factory for using a custom subclass of WebView