Interface SelectionSupport<T>


public interface SelectionSupport<T>
Utility which allows for registering handlers which are informed about single selection changes.
Since:
SNAP 2.0
  • Method Details

    • addHandler

      void addHandler(@NonNull SelectionSupport.Handler<T> handler)
      Adds a new handler.
      Parameters:
      handler - The handler.
    • removeHandler

      void removeHandler(@NonNull SelectionSupport.Handler<T> handler)
      Removes an existing handler.
      Parameters:
      handler - The handler.