update 弹窗接口
This commit is contained in:
parent
54258c3f13
commit
ea397af123
@ -23,7 +23,7 @@ public class OpenAdManager {
|
||||
public static final int TYPE_LIVE = 2;
|
||||
private static final String TAG = "-----弹窗-----";
|
||||
private Map<Integer, Boolean> showMap;
|
||||
private List<OpenAdModel> list = new ArrayList<>();
|
||||
private List<OpenAdModel> list = null;
|
||||
private Handler handler = new Handler(Looper.getMainLooper());
|
||||
private Map<Integer, AdRunnable> runnableMap = new HashMap<>();
|
||||
private int showType;
|
||||
@ -68,7 +68,7 @@ public class OpenAdManager {
|
||||
|
||||
|
||||
public synchronized void show(int type,boolean isGuard) {
|
||||
if (list.isEmpty()) {
|
||||
if (list==null) {
|
||||
init(true);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user