Android Question Click a link into WebView2 and load it into WebView1

Mattiaf

Active Member
Licensed User
Hi, I'm loading this url into WebView2.
I want to make possible that clicking into any link of them, it will open into webview1.. Is there any event? Thanks
 

Mattiaf

Active Member
Licensed User
sorry erel but i dont understand how that event could help me in this case...

something like this?

B4X:
Sub WebView1_OverrideUrl(Url As String) As Boolean
    WebView2.LoadUrl(Url)
    Return True  'Return True to make webview1 ignore the link
End Sub
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…