Any way to convert Webview to bitmap image without display Webview
I tried many methods to use WebView and convert it to bitmap image. I can get bitmap correctly but I am finding the way to get bitmap without display WebView on the screen. I have tried two method:
Method 1: create WebView instance and it needs
setContentView(webView)
Method 2: add webView into main_activity.xml
Both of these methods are working but it always display WebView. So anyone have solution ?