|
|
@@ -13,7 +13,6 @@ import kr.co.zumo.app.lifeplus.bean.HtmlBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsDetailBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.LifeplusContentsBean;
|
|
|
import kr.co.zumo.app.lifeplus.helper.NavigationBar;
|
|
|
-import kr.co.zumo.app.lifeplus.model.LifeplusPreferences;
|
|
|
import kr.co.zumo.app.lifeplus.model.SuperModel;
|
|
|
import kr.co.zumo.app.lifeplus.supervisor.ScreenID;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
@@ -46,7 +45,6 @@ public class ContentsPresenter extends ContentsBasePresenter<ContentsModel, ICon
|
|
|
private IDialogBase dialogBase;
|
|
|
private DoubleChecker doubleChecker;
|
|
|
private Toast toast;
|
|
|
- private LifeplusPreferences preferences = SuperModel.getInstance().getPreferences();
|
|
|
|
|
|
public ContentsPresenter(ContentsModel model, IContentsView view) {
|
|
|
super(model, view);
|
|
|
@@ -187,9 +185,9 @@ public class ContentsPresenter extends ContentsBasePresenter<ContentsModel, ICon
|
|
|
showErrorDialog(R.string.ready_comment);
|
|
|
break;
|
|
|
case Event.TUTORIAL:
|
|
|
- if (preferences.isTutorialListicleDone() == false) {
|
|
|
+ if (false == SuperModel.getInstance().getPreferences().isTutorialListicleDone()) {
|
|
|
view.showTutorialListicle();
|
|
|
- preferences.setTutorialListicleDone(true);
|
|
|
+ SuperModel.getInstance().getPreferences().setTutorialListicleDone(true);
|
|
|
}
|
|
|
break;
|
|
|
case Event.LAST:
|
|
|
@@ -404,9 +402,9 @@ public class ContentsPresenter extends ContentsBasePresenter<ContentsModel, ICon
|
|
|
* 리스티클형 최초진입 인덱스 1일 때 튜토리얼 표시 한다.
|
|
|
*/
|
|
|
if (model.getContentsType().equals(ContentsDetailBean.TYPE_LISTICLE) && model.getCurrentPageIndex() == 1) {
|
|
|
- if (preferences.isTutorialListicleDetailDone() == false) {
|
|
|
+ if (false == SuperModel.getInstance().getPreferences().isTutorialListicleDetailDone()) {
|
|
|
view.showTutorialListicleDetail();
|
|
|
- preferences.setTutorialListicleDetailDone(true);
|
|
|
+ SuperModel.getInstance().getPreferences().setTutorialBucketListDone(true);
|
|
|
}
|
|
|
}
|
|
|
|