public interface IModelEventListener
Event Listener of a model should implement this interface.
Underlying we might use Google Event Bus or other event bus system. Declaring an interface however make it easier to code because we can easily find all the Model Event Listener instead of finding all object with @Subscribe annotation and see which one is a listener.
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(IModelEvent event)
Method to handle the event emitted by a model
|
void onEvent(IModelEvent event)
event -