|
|
@@ -3,6 +3,9 @@
|
|
|
*/
|
|
|
package kr.co.zumo.app.lifeplus.view.screen.category.type5;
|
|
|
|
|
|
+import android.util.Log;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.Calendar;
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -52,6 +55,22 @@ public class FifthCategoryMainModel extends CategoryMainModel {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public List<CategoryContentsBean> getContents() {
|
|
|
+ if (null == contentsBeans) {
|
|
|
+ contentsBeans = new ArrayList<>();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
protected void modifyContents(List<CategoryContentsBean> contentsBeans) {
|
|
|
|