I need to trigger a conditional event when WebView_PageFinished is started.
Any thoughts on the most elegant way to do this?
B4X:
Sub MyListener
// Wait for SpecialPageFinished
// Do your thing
End Sub
Sub WebView_PageFinished(currentUrl As String)
If specialCondition = True Then
// Trigger SpecialPageFinished Event
End If
End Sub
Any thoughts on the most elegant way to do this?