-
public interface ComposerStateSaverAbstraction for persisting and restoring message composer state across process death.
The controller interacts with this interface only — no Android framework imports required.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsaveAttachments(List<Attachment> attachments)Save the attachments from the composer. abstract List<Attachment>restoreAttachments()Restores the attachments to the composer. abstract Unitclear()Clears the stored state. -
-
Method Detail
-
saveAttachments
abstract 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.
-
restoreAttachments
abstract List<Attachment> restoreAttachments()
Restores the attachments to the composer.
-
-
-
-