flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] List Structure
Date Tue, 22 Nov 2016 16:25:07 GMT


On 11/22/16, 7:43 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com> wrote:

>I tried to extend from SimpleList, but I get the same output (ul -> div
>ListDataGroup -> items)
>It seems SimpleList extends List....so all complexity is there :?

Ugh.  SimpleList got ruined in the back port from JS to AS.

It occurred to me though that both SimpleList and List/ListBase are going
to be oriented towards the "ItemRenderer Factory" API.  In such a case,
there is a dataProvider and for List you specify a template (an
ItemRenderer) and a factory and the children are generated by the factory.
 For MDL, do you want to do the same thing or make it more like generic
HTML lists where you have to explicitly specify each child.  IMO, a
generic HTML List of ul/li tags essentially means there is no template.
The contents of each li tag can have a completely different structure.

Thoughts?
-Alex

Mime
View raw message