Android Question Webview onPageFinish event

Javier Alonso

Member
Licensed User
Hi, I am using this wonderful Webreader library from Informatix https://www.b4x.com/android/forum/threads/epubreader-webreader.72560/, but I need to access the onPageFinished event of the underlying Webview. What I want is to use a WAIT FOR sentence to ensure that a page is fully loaded before scrolling. I have tried with a JavaObject to access the Webviewclient as follows:
B4X:
Dim jo as JavaObject = WbRd
Dim cl as JavaObject = jo.RunMethodJO("getWebViewClient", Null)
But I don't know how to go on. I would like to end with a Wait for (cl)... to stop the program flow until the page loads. Thank you for your help.
Javier
 
Top