> I implemented a GridView component mostly modelled after ListView, complete 
> with skin, events, keyboard navigation, selection (including multi) and 
> binding. It's only painting components within the clipbounds and seems to be 
> very performant.
> 
> See a short demo here:
> 
> https://edvin.viewscreencasts.com/2cd0ac2c9795422f875f8f048e3f8f80

That looks awesome!

> I have three questions:
> 
> - Should it support checkboxes?

I don't see a need for that. Anyone else?

> - Should it support databinding in the same way as ListView does?

That would be good. It shouldn't be too hard to hook up - you can probably copy 
most of the code from ListView.

> - I saw on https://issues.apache.org/jira/browse/PIVOT-276 that it was 
> suggested that it had a fixed renderer size. What makes for a sensible 
> default?

That means that it should assume a fixed renderer size - that is, it shouldn't 
expect the preferred size of each item to be different. That's what ListView 
does when the "variableItemHeight" style is set to false (the default). 

Did you define a GridView.ItemRenderer interface and associated data class, 
etc.?

G

Reply via email to