|
|
@@ -1,7 +1,5 @@
|
|
|
package kr.co.zumo.app.lifeplus.view.screen.contents;
|
|
|
|
|
|
-import android.content.Intent;
|
|
|
-import android.net.Uri;
|
|
|
import android.os.Handler;
|
|
|
import android.support.annotation.StringRes;
|
|
|
import android.util.Log;
|
|
|
@@ -21,7 +19,6 @@ import kr.co.zumo.app.lifeplus.bean.api.WithShownItemBean;
|
|
|
import kr.co.zumo.app.lifeplus.helper.NavigationBar;
|
|
|
import kr.co.zumo.app.lifeplus.helper.ScreenSizeHelper;
|
|
|
import kr.co.zumo.app.lifeplus.supervisor.ScreenID;
|
|
|
-import kr.co.zumo.app.lifeplus.tool.GuestContentsShowCounter;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
import kr.co.zumo.app.lifeplus.util.StringUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.DoubleChecker;
|
|
|
@@ -145,27 +142,6 @@ public class ContentsPresenter extends ContentsBasePresenter<ContentsModel, ICon
|
|
|
view.setBookmarked(model.isItemBookmarked(), false);
|
|
|
}
|
|
|
|
|
|
- // 비회원
|
|
|
- /*
|
|
|
- -> 최초 3회 접속
|
|
|
- -> 최근 7일간 35건 열람 시 -> 표시 후 리셋
|
|
|
- */
|
|
|
- if (model.isJoined() == false) {
|
|
|
- GuestContentsShowCounter counter = new GuestContentsShowCounter();
|
|
|
- counter.countUp();
|
|
|
-
|
|
|
- // 최초 3회 확인
|
|
|
- if (counter.canLaunch3()) {
|
|
|
- showGuestInfoPopup();
|
|
|
- counter.setCompleted3();
|
|
|
- }
|
|
|
- else if (counter.canLaunch()) {
|
|
|
- // 10일 이내 35회 방문
|
|
|
- showGuestInfoPopup();
|
|
|
- counter.setCompleted(); // 카운트 초기화
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
else {
|
|
|
Log.w("APP# ContentsPresenter | showContents", "|" + "invalid itemType -> " + itemType);
|