getRowCount method
Implementation
int getRowCount() {
if (category.files.length % 4 != 0) {
return category.files.length ~/ 4 + 1;
} else {
return category.files.length ~/ 4;
}
}
int getRowCount() {
if (category.files.length % 4 != 0) {
return category.files.length ~/ 4 + 1;
} else {
return category.files.length ~/ 4;
}
}