Package 

Enum Payload

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum Payload
    
                        

    Payload occurs only for {@code notifyItemChanged()}.

    The value of this enumeration will be provided to the bind method to optimize the view binding in order to update only the inner views interested for the change.

    You can still pass your own Object instead of one of these values.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CHANGE

      for a general update of the content item

      NO_MORE_LOAD

      when no more load is triggered

      FILTER

      when the filter has changed and item is still visible

      UNDO

      when header or parent receive back its child after the restoration

      ADD_SUB_ITEM

      when a subItem is added to the siblings below a parent

      REM_SUB_ITEM

      when a subItem is removed from the siblings below a parent

      MOVE

      when item has been moved, the original header/parent receives this payload

      LINK

      when linking a header from a sectionable item

      UNLINK

      when un-linking a header from a sectionable item

      SELECTION

      when items are notified due to Selecting All items / Clearing Selection)

      MERGE

      when items are notified after a merge

      SPLIT

      when items are notified after a split

      EXPANDED

      when an item is expanded by the user or system

      COLLAPSED

      when an item is collapsed by the user or system

    • Method Summary

      Modifier and Type Method Description
      static Array<Payload> values()
      static Payload valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait