我不想使用表格视图。上面的代码适用于iOS,但在Android上崩溃。
var rowViewList = [];
for (var i = 0; i < data.length; i++) {
rowViewList.push(Alloy.createController("untilNextTime/minifigureTradingRow", {
data : data[i]
}).getView());
}
$.parentFrameTrade.add(rowViewList); // This is the line where android crashes.parentFrameTrade is a normal view.