Commit fe56779e authored by erwin's avatar erwin

风行广告关闭

parent 68b2e1ed
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