|
|
@@ -3,12 +3,6 @@
|
|
|
*/
|
|
|
package kr.co.zumo.app.lifeplus.view.screen.category.type5;
|
|
|
|
|
|
-import android.util.Log;
|
|
|
-
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-import kr.co.zumo.app.lifeplus.bean.api.CategoryContentsBean;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.category.CategoryID;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.category.CategoryMainModel;
|
|
|
|
|
|
@@ -53,22 +47,14 @@ public class FifthCategoryMainModel extends CategoryMainModel {
|
|
|
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public List<CategoryContentsBean> getContents() {
|
|
|
- if (null == contentsBeans) {
|
|
|
- contentsBeans = new ArrayList<>();
|
|
|
- }
|
|
|
-
|
|
|
- // fixme 20개로 제한 -----------------------
|
|
|
- int size = contentsBeans.size();
|
|
|
- int max = 20;
|
|
|
- if (size > max) {
|
|
|
- contentsBeans = contentsBeans.subList(0, max);
|
|
|
- Log.e("APP# FifthCategoryMainModel | modifyContents", "|" + "resizing => " + contentsBeans.size());
|
|
|
- }
|
|
|
- // --------------------------------------
|
|
|
-
|
|
|
- return contentsBeans;
|
|
|
+ /**
|
|
|
+ * 다음 페이지 있는지 확인
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public boolean hasNextPage() {
|
|
|
+ // this week 는 20개 제한
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
}
|