Interface ReusableItemComponent<T>

Type Parameters:
T - The type of the item that the component can display

public interface ReusableItemComponent<T>
Interface for components that can be reused in a list view. If a component implements this interface, it can be reused when its item changes instead of being destroyed and recreated.

The component is fully responsible for updating its display when the item changes.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setItem(T item)
     
  • Method Details

    • setItem

      void setItem(@NotNull T item)