You can monitor estimatedProgress property. For example:
B4X:
WebView1.LoadUrl ("https://www.b4x.com")
Dim doubleValue As Double
Dim doubleValueLast As Double
Dim no As NativeObject = WebView1
Do While doubleValue < 1
doubleValue = no.GetField ("estimatedProgress").AsNumber
If doubleValue <> doubleValueLast Then
doubleValueLast = doubleValue
Log (doubleValue)
End If
Sleep (1)
Loop
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.