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?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…