ATableViewDelegate delegate = mTableView.getDelegate();
delegate.accessoryButtonTappedForRowWithIndexPath(mTableView, indexPath);
}
});
}
<BUG>}
@Override</BUG>
public int getCount() {
int count = 0;
<BUG>for (int i = 0; i < mRows.size(); i++) {

count += mRows.get(i) + ADDITIONAL_ROWS_PER_SECTION;
}</BUG>
return count;

ATableViewDelegate delegate = mTableView.getDelegate();
delegate.accessoryButtonTappedForRowWithIndexPath(mTableView, indexPath);
}
});
}
}
public int getHeaderFooterStyleCount() {
int count = 0;
int s = 0;
while (count < 2 && s < mRows.size()) {
int offset = getHeaderFooterCountOffset(s);
if (offset > count) count = offset;
s++;
