| | |
| | | code = BeibeiConstant.GDT_SPLASH_POSITION_ID; |
| | | if (skip != null) |
| | | skip.setVisibility(View.VISIBLE); |
| | | gdtSplashAD = new SplashAD(context, skip, code, new SplashADListener() { |
| | | gdtSplashAD = new SplashAD(context, code, new SplashADListener() { |
| | | @Override |
| | | public void onADDismissed() { |
| | | splashAdListener.close(); |
| | |
| | | @Override |
| | | public void onADClicked() { |
| | | System.out.println(""); |
| | | splashAdListener.onAdClick(); |
| | | |
| | | } |
| | | |
| | | @Override |
| | |
| | | Log.i(TAG, "GDT:onADLoaded-" + l); |
| | | splashAdListener.onAdLoad(new SplashAdLoadInfo(gdtSplashAD, System.currentTimeMillis() + (l - SystemClock.elapsedRealtime()))); |
| | | } |
| | | }, 0); |
| | | }, 3500); |
| | | |
| | | gdtSplashAD.fetchAdOnly(); |
| | | } |
| | | |
| | |
| | | |
| | | public void onAdLoad(SplashAdLoadInfo adLoadInfo); |
| | | |
| | | public void onAdClick(); |
| | | |
| | | public void close(); |
| | | |
| | | public void noAd(); |