On Mon, 28 Jul 2014 12:12:21 +0300 Martin Grigorov <[email protected]> wrote:
> > - protected void onSelectionChanged(final Collection<? > > extends T> newSelection) > > + protected void onSelectionChanged(final Collection<T> > > newSelection) > > > > Should the application be allowed to add new items to "newSelestion" ? > Is there a use case for this ? > Or the idea is to make the API as open as possible and leave the > application decide what to do ? There is a use case: Upon the user selecting something, the application may want to add something to the selection. Maybe one of the selected values is dependent on another, and the second one can thus be automatically selected. Carl-Eric
