@@ -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() {