I'm having some trouble with databinding in a custom component I'm
working on.  I've created a Cairngorm style model object with an
[Bindable] ArrayCollection as one of the properties.  I've bound this
ArrayCollection to the "items" property of my custom component which
has a getter and setter...  While the items property of the model is
updated repeatedly, the setter on my component is only called once.

This does make sense since the ArrayCollection itself isn't replaced
only its contents are modified.  However, within my component I need
to detect and respond to changes in the Array Collection  (just like
the built-in list components respond to changes in their
"dataProvider" properties...)  What am I missing?  It looks like the
setter method is not the way to respond to changes in an
ArrayCollection's data.  Do I need to add some other kind of event
listener to my custom component?

Reply via email to