use of org.prebid.mobile.rendering.views.webview.WebViewBase in project prebid-mobile-android by prebid.
the class MraidEventHandlerNotifierRunnable method run.
@Override
public void run() {
HTMLCreative htmlCreative = mWeakHtmlCreative.get();
WebViewBase webViewBase = mWeakWebViewBase.get();
if (htmlCreative == null || webViewBase == null) {
LogUtil.debug(TAG, "Unable to pass event to handler. HtmlCreative or webviewBase is null");
return;
}
htmlCreative.handleMRAIDEventsInCreative(mMraidEvent, webViewBase);
final JsExecutor jsExecutor = mWeakJsExecutor.get();
if (jsExecutor == null) {
LogUtil.debug(TAG, "Unable to executeNativeCallComplete(). JsExecutor is null.");
return;
}
jsExecutor.executeNativeCallComplete();
}
Aggregations