onInteraction abstract method

void onInteraction(
  1. T item,
  2. InteractionType type
)

Handle interaction side-effects (e.g., internal model callbacks).

Implementation

void onInteraction(T item, InteractionType type);