passes the bridge to the callback when the private load() function is finished and the bridge should be non null. Requested by Paylocity. It was possible to get the bridge before but no assurance it was not null until after load() had been called.
Will add usage examples to the docs.
Kotlin use:
val portalFragment = PortalFragment(checkoutPortal, (bridge) -> {
val portalWebView = bridge.getWebView();
});
Creates a callback similar to iOS https://github.com/ionic-team/ionic-portals-ios/blob/0cc7e1a025958f4731fde861fd1a1cf24211c2ed/Sources/IonicPortals/PortalView.swift#L14
passes the bridge to the callback when the private
load()
function is finished and the bridge should be non null. Requested by Paylocity. It was possible to get the bridge before but no assurance it was not null until afterload()
had been called.Will add usage examples to the docs.
Kotlin use:
Java use:
Direct use:
Subclass: