Closed cosminstefanxp closed 1 year ago
Hello again. And thanks for taking a first round at this. But it's not yet complete, so I don't think it should be closed. For example, the signature in AccompanistWebViewClient
is: override fun onPageStarted(view: WebView, url: String?, favicon: Bitmap?)
, while the url
can never be null. Why not override fun onPageStarted(view: WebView, url: String, favicon: Bitmap?)
?
Description There are too many null checks in situations that don't really make sense. For example, the methods in
WebViewClient
andWebChromeClient
all have nullable arguments, while that is not correct, since they'll never be called with a null web view. This is likely due to missing of nullable annotations on the Java WebView.