You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.listbox.dataview.

Class ListBoxListDataView<T>

    • Constructor Detail

      • ListBoxListDataView

        public ListBoxListDataView​(SerializableSupplier<? extends DataProvider<T,​?>> dataProviderSupplier,
                                   ListBoxBase listBox,
                                   SerializableBiConsumer<SerializablePredicate<T>,​SerializableComparator<T>> filterOrSortingChangedCallback)

        Creates a new in-memory data view for ListBox and verifies the passed data provider is compatible with this data view implementation.

        Parameters:

        dataProviderSupplier - data provider supplier

        listBox - listBox instance for this DataView

        filterOrSortingChangedCallback - callback, which is being invoked when the ListBox's filtering or sorting changes, not null