Interface Drag.OnCancel

Enclosing class:
Drag
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Drag.OnCancel
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCancel(int reason)
    Emitted when the drag operation is cancelled.
  • Method Details

    • onCancel

      void onCancel(int reason)
      Emitted when the drag operation is cancelled.
      Parameters:
      reason - The reason the drag was cancelled