I am trying to implement some common logic and reaction to some events in base class of all my dialogues.
And registering and unregistering in EventBus, and catching some events in base class.
So when I tried to instantiate an instance of derived class - EventBus throws an exception that DerivedClass has no methods like onEvent(*). I don't want to add some stub onEvent methods in every derived class, it is not the way software development should be.
It is so sad, if there is no way to use such approach about inheritance.
Did someone faced that?