android.app.Activty
|
|
|
|
com.mycompany.ActivityWrapper
| <--------------------------------\
| \ |
| | |
| | |
| android.app.ListActivty android.app.ExpandableListActivity
| | |
| | |
| | |
MyActivity1 | |
| |
MyActivity2 MyActivity3
I need to make class (com.mycompany.ActivityWrapper) which extends android.app.Activity and extends following methods:
- onCreate
- onResume
- onConfigurationChanged
- onMenuOpened
I want all my activities (which already extends at the monent android.app.Activity, android.app.?ListActivity) use code of my com.mycompany.ActivityWrapper
I have no ideas how to implement this ( maybe via reflection %) ).
Help me, plz