|
|
@@ -99,10 +99,10 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
|
|
|
model.loadWeather();
|
|
|
|
|
|
- if (model.canDisplayNewbiePopup()) {
|
|
|
+ /*if (model.canDisplayNewbiePopup()) {
|
|
|
// 회원 가입 팝업 표시
|
|
|
showNewbiePopup();
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
model.loadPopupInfo();
|
|
|
}
|
|
|
@@ -110,7 +110,8 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
@Override
|
|
|
protected void stopInternal() {
|
|
|
clearTimer();
|
|
|
- closeNewbiePopup();
|
|
|
+
|
|
|
+// closeNewbiePopup();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -201,9 +202,9 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
if (event.getInteger() == Event.LOADING_WEATHER) {
|
|
|
onWeatherComplete();
|
|
|
}
|
|
|
- else if (event.getInteger() == Event.LOADED_POPUP_INFO) {
|
|
|
+ /*else if (event.getInteger() == Event.LOADED_POPUP_INFO) {
|
|
|
startNewbiePopupTimer();
|
|
|
- }
|
|
|
+ }*/
|
|
|
else {
|
|
|
showErrorDialog(event.getString());
|
|
|
}
|
|
|
@@ -557,7 +558,7 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
|
|
|
if (false == model.isVisiblePromotion() || null == model.getPromotionPopupBeans() || model.getPromotionPopupBeans().size() < 1) {
|
|
|
|
|
|
- startNewbiePopupTimer();
|
|
|
+// startNewbiePopupTimer();
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
@@ -576,7 +577,7 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
@Override
|
|
|
public void onDialogResult(PromotionDialog dialog, Event event) {
|
|
|
dialog.dispose();
|
|
|
- startNewbiePopupTimer();
|
|
|
+// startNewbiePopupTimer();
|
|
|
if (event.getEventId() == Event.TODAY) {
|
|
|
model.setPromotionSkipTime();
|
|
|
}
|
|
|
@@ -589,7 +590,7 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
@Override
|
|
|
public void onDialogCanceled(PromotionDialog dialog) {
|
|
|
dialog.dispose();
|
|
|
- startNewbiePopupTimer();
|
|
|
+// startNewbiePopupTimer();
|
|
|
}
|
|
|
})
|
|
|
.attribute(dialog -> {
|
|
|
@@ -598,7 +599,9 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
.show();
|
|
|
}
|
|
|
|
|
|
- private void closeNewbiePopup() {
|
|
|
+
|
|
|
+ //TODO: 뉴비팝업 제거
|
|
|
+ /*private void closeNewbiePopup() {
|
|
|
if (null != disposableNewbie) {
|
|
|
disposableNewbie.dispose();
|
|
|
disposableNewbie = null;
|
|
|
@@ -618,7 +621,7 @@ public class MainPresenter extends Presenter<MainModel, IMainView> {
|
|
|
view.setNewbieLayoutVisible(false);
|
|
|
});
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
* GA 에 이용되는 현재 화면의 이름
|