I also tried to figure it out. Like everyone else, I extend the Activity in the BaseActivity class.
The annoyance with this is when your activity extends ListActivity or some other activity class, then you also need to extend all these other activity classes.
There is Java technology that I donβt quite remember the name, but something similar to the C # define operator, which allows you to enter code.
Salsero69
source share