Commit 80f73e4f authored by 王雪伟's avatar 王雪伟

Merge branch 'master' of gitlab.huolea.com:wangxuewei/zxad_unity

parents 7ee9abc2 fe56779e
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -21,17 +21,12 @@ import java.util.List; ...@@ -21,17 +21,12 @@ import java.util.List;
*/ */
public class FunShionManager { public class FunShionManager {
public static void init(){ public static void init(){
FSAD.init(AppliContext.get()); FSAD.init(AppliContext.get());
} }
private FSSplashAD mFSSplashAD = null; private FSSplashAD mFSSplashAD = null;
private ArrayList<FSRewardVideoView> rewradArray = new ArrayList<>(); private ArrayList<FSRewardVideoView> rewradArray = new ArrayList<>();
public void loadSplash(Activity activity,String codeId, FsADSplashListener listener){ public void loadSplash(Activity activity,String codeId, FsADSplashListener listener){
...@@ -43,6 +38,7 @@ public class FunShionManager { ...@@ -43,6 +38,7 @@ public class FunShionManager {
mFSSplashAD.setSkipViewContent("跳过 " + sec / 1000); mFSSplashAD.setSkipViewContent("跳过 " + sec / 1000);
if (sec / 1000 == 0) { if (sec / 1000 == 0) {
listener.onAdSkip(); listener.onAdSkip();
FSSplashAdManager.getSplashAdManager().destorySplashView(activity);
} }
} }
...@@ -53,6 +49,7 @@ public class FunShionManager { ...@@ -53,6 +49,7 @@ public class FunShionManager {
mFSSplashAD = null; mFSSplashAD = null;
} }
listener.onAdSkip(); listener.onAdSkip();
FSSplashAdManager.getSplashAdManager().destorySplashView(activity);
} }
@Override @Override
......
fileFormatVersion: 2
guid: a03ee1c8220d74c229ac27d346e45e8d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment