|
|
@@ -8,6 +8,7 @@ import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
+import kr.co.zumo.app.lifeplus.util.AppUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.IEventListener;
|
|
|
import kr.co.zumo.app.lifeplus.view.presenter.Presenter;
|
|
|
@@ -25,8 +26,6 @@ import kr.co.zumo.app.lifeplus.view.presenter.Presenter;
|
|
|
public class GuideAdapter extends RecyclerView.Adapter<GuideView> {
|
|
|
|
|
|
private static final int LIST_COUNT = 6;
|
|
|
- // TODO: 2차 오픈: 준비중, 얼랏 처리
|
|
|
- //private static final int LIST_COUNT = 4;
|
|
|
|
|
|
private static final int APP_INTRO = 0;
|
|
|
private static final int CATEGORY_MAIN_GUIDE = 1;
|
|
|
@@ -78,7 +77,6 @@ public class GuideAdapter extends RecyclerView.Adapter<GuideView> {
|
|
|
case COIN_GUIDE:
|
|
|
view = inflater.inflate(R.layout.app_guide_coin, parent, false);
|
|
|
return new GuideCoinViewHolder(context, view);
|
|
|
- // TODO: 2차 오픈: 준비중, 얼랏 처리
|
|
|
case LAST_VIEW:
|
|
|
view = inflater.inflate(R.layout.app_guide_last_view, parent, false);
|
|
|
return new GuideLastViewHolder(context, view);
|
|
|
@@ -101,7 +99,15 @@ public class GuideAdapter extends RecyclerView.Adapter<GuideView> {
|
|
|
|
|
|
@Override
|
|
|
public int getItemCount() {
|
|
|
- return LIST_COUNT;
|
|
|
+ int count;
|
|
|
+ // TODO: 2차 오픈: 준비중, 얼랏 처리
|
|
|
+ if (AppUtil.isDebug()) {
|
|
|
+ count = LIST_COUNT;
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ count = 4;
|
|
|
+ }
|
|
|
+ return count;
|
|
|
}
|
|
|
|
|
|
@Override
|