Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1962] TableView updateSection documentation incorrect

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-02-15T04:11:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterAlma Madsen
AssigneeMauro Parra-Miranda
Created2013-02-05T22:46:59.000+0000
Updated2016-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);

Comments

  1. Arthur Evans 2013-02-07

    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.
  2. Eduardo Gomez 2013-02-15

  3. Mauro Parra-Miranda 2013-11-24

    Closing since it's a dup.

JSON Source