コード例 #1
0
  @Override
  public void onRequestFail(AdView paramAdView) {
    AdViewUtil.logInfo("Umeng failure");
    paramAdView.setUmengAdListener(null);

    AdViewLayout adViewLayout = adViewLayoutReference.get();
    if (adViewLayout == null) {
      return;
    }
    super.onFailed(adViewLayout, ration);
    // adViewLayout.rotateThreadedPri(1);
  }
コード例 #2
0
  @Override
  public void onRequestSuccess(AdView paramAdView) {
    AdViewUtil.logInfo("Umeng success");
    paramAdView.setUmengAdListener(null);

    AdViewLayout adViewLayout = adViewLayoutReference.get();
    if (adViewLayout == null) {
      return;
    }
    super.onSuccessed(adViewLayout, ration);
    adViewLayout.adViewManager.resetRollover();
    adViewLayout.handler.post(new ViewAdRunnable(adViewLayout, paramAdView));
    adViewLayout.rotateThreadedDelayed();
  }