Package io.writeopia.sdk.backstack
Interface BackstackInform
-
- All Implemented Interfaces:
public interface BackstackInformNotifies 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.
-
-
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. -
-
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.
-
-
-
-