Skip to content
Advertisement

I want to show my externalurl link coming from api in webview in my application

My Code :

My Adapter

JavaScript

news detail class

JavaScript

I want to show my externalurl link coming from api in webview in my application. When I click for detail, it opens on google chrome. but I want it to show in application.

Advertisement

Answer

set setWebViewClient in your WebView also you can enable javaScript

JavaScript

and Clint is:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement