Android Question Triggering Event Upon WebView_PageFinished

DawningTruth

Active Member
Licensed User
I need to trigger a conditional event when WebView_PageFinished is started.

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?
 
Top