浏览代码

[카테고리메인][Bug] 여행어디가지 아이템 카운트 수정

Hasemi 7 年之前
父节点
当前提交
bb35d4240f

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/category/type2/SecondCategoryMainAdapter.java

@@ -112,7 +112,7 @@ public class SecondCategoryMainAdapter extends RecyclerView.Adapter<SecondCatego
 
   @Override
   public int getItemCount() {
-    return (int) Math.ceil(contentsBeans.size() / 3);
+    return (int) Math.ceil((float)contentsBeans.size() / 3f);
   }
 
   private boolean hasBanner() {