Hi,

> Thanks for the links, but I had already read twice all of them.
Ok, just to be sure :-) ...

> If I have an ArryList of person objects, is the only way to display their 
> names in a ListView to create an ArrayList of Strings filled with their names 
> and pass it to setListData ? I thought I could set the property to display 
> with setListDataKey, but I do not understand how to do that.
I'm sorry but I haven't a sample of this (maybe Roger or others have),
so I have to write a minimal sample for it (could be useful for others
too).
Initial approach (even for me, to remember what to do):
copy some classes from
tutorials/org.apache.pivot.tutorials.databinding.*  into
tests/org.apache.pivot.tests.*  and see what happens trying to set
setListDataKey on a property of bean for the binding, maybe using
BeanAdapter ... all this just as general idea.

Just found something that could give some info on this:
org.apache.pivot.tests.DataBindingTest , under the tests subproject.
In the meantime, try to look at it ...

Let's update.

Bye,
Sandro

Reply via email to