[AC-1962] TableView updateSection documentation incorrect
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-02-15T04:11:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Alma Madsen |
Assignee | Mauro Parra-Miranda |
Created | 2013-02-05T22:46:59.000+0000 |
Updated | 2016-03-08T07:40:53.000+0000 |
Description
It seems that the updateSection method on the TableView has incorrect documentation, in that the first two parameters are reversed. It only works for me if I pass in the new TableSectionView as the first parameter and the index as the second.
Documentation shows
updateSection(index, section, animation);
Where the real order is
updateSection(section, index, animation);
The reporter is correct that this occurs on iOS. However, iOS should be matching Android and Mobile Web, as well as the argument order used by updateRow.
Closing since it's a dup.