ListModel or Ordered Collection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ListModel or Ordered Collection

Jerome Chan
Ok. Someone asked me why don't we keep this data in a ListModel instead
of an OrderedCollection.

So what is the difference between the two?


Reply | Threaded
Open this post in threaded view
|

Re: ListModel or Ordered Collection

Bill Schwab-2
Jerome,

ListModel triggers events to allow a ListPresenter to update with changes to
the list.  Having a special type of collection avoids the burden of
triggering for all collections, with the obvious tradeoffs when it doesn't
do exactly what one wants.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]