Package 

Class SavedStateComposerStateSaver

    • Method Summary

      Modifier and Type Method Description
      Unit saveAttachments(List<Attachment> attachments) Save the attachments from the composer.
      List<Attachment> restoreAttachments() Restores the attachments to the composer.
      Unit clear() Clears the stored state.
      • Methods inherited from class java.lang.Object

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

      • SavedStateComposerStateSaver

        SavedStateComposerStateSaver(SavedStateHandle savedStateHandle)
    • Method Detail

      • saveAttachments

         Unit saveAttachments(List<Attachment> attachments)

        Save the attachments from the composer.

        Implementations should be cheap to call frequently — this is invoked on every change to the attachment list.

      • clear

         Unit clear()

        Clears the stored state.