Class UICollectionViewDropIntent


  • public final class UICollectionViewDropIntent
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long InsertAtDestinationIndexPath
      The drop will be placed in item(s) inserted at the destination index path.
      static long InsertIntoDestinationIndexPath
      The drop will be placed inside the item at the destination index path (e.g. the item is a container of other items).
      static long Unspecified
      Collection view will accept the drop, but the location is not yet known and will be determined later.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Unspecified

        public static final long Unspecified
        Collection view will accept the drop, but the location is not yet known and will be determined later. Will not open a gap. You may wish to provide some visual treatment to communicate this to the user.
        See Also:
        Constant Field Values
      • InsertAtDestinationIndexPath

        public static final long InsertAtDestinationIndexPath
        The drop will be placed in item(s) inserted at the destination index path. Opens a gap at the specified location simulating the final dropped layout.
        See Also:
        Constant Field Values
      • InsertIntoDestinationIndexPath

        public static final long InsertIntoDestinationIndexPath
        The drop will be placed inside the item at the destination index path (e.g. the item is a container of other items). Will not open a gap. Collection view will highlight the item at the destination index path.
        See Also:
        Constant Field Values