|
@@ -104,14 +104,13 @@ public class ActMiDong extends BaseActivity {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
pager.setCurrentItem(0);
|
|
pager.setCurrentItem(0);
|
|
|
-
|
|
|
|
|
- CommonUtil.getInstance()
|
|
|
|
|
- .reflex(indicator, activity);
|
|
|
|
|
|
|
+ pager.setOffscreenPageLimit(fgtMiDongList.size());
|
|
|
|
|
+ CommonUtil.getInstance().reflex(indicator, activity);
|
|
|
AdManager.getInstance(activity).setDownloadListener(new AppDownloadListener() {
|
|
AdManager.getInstance(activity).setDownloadListener(new AppDownloadListener() {
|
|
|
@Override
|
|
@Override
|
|
|
- public void onDownloadStart(int s) {
|
|
|
|
|
- LogUtil.println("AdManager", "onDownloadStart", s);
|
|
|
|
|
- ACache.get(SheepApp.getInstance()).put(String.format(Locale.CHINA, "%s%d", AdManager.class.getSimpleName(), s), "onDownloadStart");
|
|
|
|
|
|
|
+ public void onDownloadStart(int id) {
|
|
|
|
|
+ LogUtil.println("AdManager", "onDownloadStart", id);
|
|
|
|
|
+ ACache.get(SheepApp.getInstance()).put(String.format(Locale.CHINA, "%s%d", AdManager.class.getSimpleName(), id), "onDownloadStart");
|
|
|
EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.REFRESH_MING_DONG));
|
|
EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.REFRESH_MING_DONG));
|
|
|
|
|
|
|
|
}
|
|
}
|