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

Make item display asynchronous

    XMLWordPrintable

Details

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

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: