It really depends on what you want to do in your onDestroy
. This is what super.onDestroy does (in that order):
- Dismiss any dialogs the activity was managing.
- Close any cursors the activity was managing.
- Close any open search dialog
If the logic you put inside onDestroy
has something to do with those three things that android does, then you may have to worry about the order. Otherwise, and in most of the cases, it does not matter.