Skip to content

Commit

Permalink
docs(api): fix ListView example
Browse files Browse the repository at this point in the history
  • Loading branch information
drauggres committed Feb 8, 2022
1 parent 27ab328 commit b42d7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apidoc/Titanium/UI/ListView.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1367,8 +1367,8 @@ examples:
{properties: { title: 'Carrots'}},
{properties: { title: 'Potatoes'}},
];
sections.push(vegSection);
var vegSection = Ti.UI.createListSection({ headerTitle: 'Vegetables', items: vegDataSet});
sections.push(vegSection);
listView.sections = sections;
win.add(listView);
Expand Down

0 comments on commit b42d7b7

Please sign in to comment.