Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10884] Android: Deprecating the implicit creation of tableViewRows

GitHub Issuen/a
TypeStory
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi
ReporterHieu Pham
AssigneeUnknown
Created2012-09-12T15:40:43.000+0000
Updated2018-02-28T20:04:03.000+0000

Description

Table views rows can be created using 2 ways: 1. Explicit - Ti.UI.createTableViewRow 2. Implicit - via JavaScript dictionary object. For example:
 var data = [{title:'Row 1', hasChild:true, color:'red', selectedColor:'#fff', special:'special 1'},];
 var table = Ti.UI.createTableView({data: data});
The 2nd method isn't the recommended one and should be deprecated.

Comments

No comments

JSON Source