Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1797

Make item display asynchronous

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      The items in the finder are already fetched asynchronously using the interface 

      public interface ItemsProvider<T> {
          Promise<List<T>> items(FinderContext context);
      }
      

      The returned list is then passed to the interface 

      public interface ItemRenderer<T> {
          ItemDisplay<T> render(T item);
      }
      

      which needs to return an implementation of ItemDisplay<T> to finally render the item. 

      Instead of returning a list of items in one go, the finder API should be able to render the items one at a time as they are returned by the backend. 

              Unassigned Unassigned
              hpehl@redhat.com Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: