WebViewClient shouldInterceptRequest Freezes the WebView
问题 I want to cache images displayed in the WebView for a specific time, for e.g. 7 days, so I needed to both save image caches to disk and load them from disk and provide them to the WebView. Also I needed to resize the images to avoid the WebView; Crash on High Memory Usage, so I implemented the caching and resizing logic in a Blocking Function named " fetchBitmap ". As the Android documentation states, the " shouldInterceptRequest " runs on a Thread Other than the UI Thread, so I can do