Class AbstractItemsNavigationStrategy

    • Constructor Detail

      • AbstractItemsNavigationStrategy

        public AbstractItemsNavigationStrategy()
    • Method Detail

      • addItems

        public <T> Iterator<Item<T>> addItems​(int startIndex,
                                              IItemFactory<T> factory,
                                              Iterator<IModel<T>> newModels)
        Description copied from interface: IQuickReuseStrategy
        Returns an iterator over items that will be added to the view without re-rendering the QuickView
        Specified by:
        addItems in interface IQuickReuseStrategy
        Type Parameters:
        T - type of Item
        Parameters:
        startIndex - index from where new items will be added
        factory - implementation of IItemFactory
        newModels - iterator over models for items
        Returns:
        iterator over items that will be added
      • isPartialUpdatesSupported

        public boolean isPartialUpdatesSupported()
        Description copied from interface: IQuickReuseStrategy
        tells whether reuse strategy support addition of items to view without re-rendering QuickView
        Specified by:
        isPartialUpdatesSupported in interface IQuickReuseStrategy
        Returns:
        true means repeater supports partial updates without the need to re-render whole repeater