class NoteActionManager : NoteActionObserverManager
This class parses some of actions that can be done with Notes Such as: ADD, REMOVE, SHOW
<init> |
This class parses some of actions that can be done with Notes Such as: ADD, REMOVE, SHOW NoteActionManager() |
call |
Calls observers to process given action fun call(action: Action, actionOn: Note): Unit |
callOnCurrent |
Calls observers to process given action on current note (actionOn) fun callOnCurrent(action: Action): Unit |
current |
Returns most recent note we worked with fun current(): Note |
currentAction |
Returns most recent called action fun currentAction(): Action |
notifyObserver |
fun notifyObserver(): Unit |
registerObserver |
fun registerObserver(observer: NoteActionObserver): Unit |
removeObserver |
fun removeObserver(observer: NoteActionObserver): Unit |
getInstance |
Creates one and only instance of NoteActionManager fun getInstance(): NoteActionManager |