Interface BackstackInform

  • All Implemented Interfaces:

    
    public interface BackstackInform
    
                        

    Notifies is it possible to undo or redo actions. Classes that implement this interface are useful to notify the UI that a button of undo/redo should or not be highlighted.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract StateFlow<Boolean> getCanUndo() Notifies if it is possible to undo an action.
      abstract StateFlow<Boolean> getCanRedo() Notifies if it is possible to redo an action.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getCanUndo

         abstract StateFlow<Boolean> getCanUndo()

        Notifies if it is possible to undo an action.

      • getCanRedo

         abstract StateFlow<Boolean> getCanRedo()

        Notifies if it is possible to redo an action.