I am trying to develop a component that makes use of the dataProvider
approach many of the Flex 2 components utilize.  In doing so I am listening
in on the CollectionChange event and the kind of change that is occuring.
One problem I am encountering is how to implement MOVE based logic without
also firing off ADD and REMOVE type changes.

For instance I want to take an item in the dataProvider at index=10 and move
it to index=3 which will then update indices for anything with index > 3.
Currently the only way I know how to do that is by removing it and storing
it in a var and then adding it to the desired the index.  But that then
results in dispatching both ADD and REMOVE which I don't want.

So is there another way to move within the ListCollectionView?  Am I missing
something super obvious?

--
justin w. opitz
617.771.6639
jwopitz(at)gmail.com

Reply via email to