@Override public void onFailedToReceiveAd(BannerView arg0) { // TODO Auto-generated method stub if (AdViewTargeting.getRunMode() == RunMode.TEST) Log.d(AdViewUtil.ADVIEW, "Greystripe fail"); arg0.removeListener(this); AdViewLayout adViewLayout = adViewLayoutReference.get(); if (adViewLayout == null) { return; } adViewLayout.adViewManager.resetRollover_pri(); adViewLayout.rotateThreadedPri(); }
@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(); }