[TIMOB-10884] Android: Deprecating the implicit creation of tableViewRows
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | High |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | api |
| Reporter | Hieu Pham |
| Assignee | Unknown |
| Created | 2012-09-12T15:40:43.000+0000 |
| Updated | 2018-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.
No comments