For example I have two classes.
public class PActivity {
...
@Override
public boolean OnEventSocket(PMSocketEvent a_iEvent)
...
handled = OnEventSocket(...);
}
}
Second class:
public class PMenu extends PActivity {
@Override
public boolean OnEventSocket(PMSocketEvent a_iEvent)
{
...
}
}
How can I block the calling method from the second class?
Sometimes I want call the method OnEventSocket
from the base class.
I have many classes like PMenu
, so I have to make the change in PActivity