@Override public void onReceivedAd(BannerView arg0) { // TODO Auto-generated method stub if (AdViewTargeting.getRunMode() == RunMode.TEST) Log.d(AdViewUtil.ADVIEW, "Greystripe success"); arg0.removeListener(this); AdViewLayout adViewLayout = adViewLayoutReference.get(); if (adViewLayout == null) { return; } adViewLayout.adViewManager.resetRollover(); adViewLayout.handler.post(new ViewAdRunnable(adViewLayout, arg0)); adViewLayout.rotateThreadedDelayed(); }
@Override public void onReceiveAd(Object arg0) { // TODO Auto-generated method stub WoobooAdView adView = (WoobooAdView) arg0; if (AdViewTargeting.getRunMode() == RunMode.TEST) Log.d(AdViewUtil.ADVIEW, "Wooboo success"); adView.setAdListener(null); AdViewLayout adViewLayout = adViewLayoutReference.get(); if (adViewLayout == null) { return; } adViewLayout.adViewManager.resetRollover(); adViewLayout.handler.post(new ViewAdRunnable(adViewLayout, adView)); adViewLayout.rotateThreadedDelayed(); }