I have a BaseActivity that I use in my application to simplify Google Analytics.
In my basic operation, I override onStart() and onStop() to send some things to EasyTracker. I would like to set up my code so that it requires me to make a call to the superclass constructor with the name of the operation so that BaseActivity can send the necessary data.
I tried to create a constructor in BaseActivity , and it seemed to work, but I got an error message that my main activity (which extends BaseActivity ) hierarchy is incompatible.
What could I do for this?
source share