[TIMOB-19343] Android: Support for view.add(View[])
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-06-21T18:36:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, core, parity, windows |
Reporter | Pier Paolo Ramon |
Assignee | Chee Kiat Ng |
Created | 2015-08-01T10:06:39.000+0000 |
Updated | 2016-06-21T18:36:49.000+0000 |
Description
In iOS we can atomically add multiple children views to a parent view in a single pass:
var parent = Ti.UI.createView({ layout: 'vertical' });
parent.add([
Ti.UI.createLabel({ text: 'X' }),
Ti.UI.createLabel({ text: 'Y' })
]);
Comments
- Hans Knöchel 2016-06-21