Appcelerator Alloy のコレクションにネストされたモデルを含めることが可能かどうか疑問に思っていましたか?
投稿のリストがあり、各投稿にはコメントといいねのネストされたモデルがあります。どうすればそれを行うことができますか?
これが私のコードです:
<Alloy>
<Collection src="post">
<Window>
<TableView id="table" dataCollection="post">
<TableViewRow class="row">
<Label text="{title}></Label>
****How Do I load list of comments and likes within the collection?****
****{comments}****
****{likes}*****
</TableViewRow>
</TableView>
</Window>
</Alloy>