As in the docs:
onDestroy () = This callback is called before the action is destroyed by the system.
Illustration example:
@Override
public void onDestroy() {
super.onDestroy();
Log.d(msg, "The onDestroy() event");
}
Popularly mentioned by @Cristian (don't know where) -
, onDestroy. , super.onDestroy ( ):
1) , .
2) , .
3) .
,
" , onDestroy, - , , , , . , ."