I know for an Activity onDestroy(...)
is not guaranteed to be called. According to the docs,
There are situations where the system will simply kill the activity's hosting process without >calling this method (or any others) in it, so it should not be used to do things that are >intended to remain around after the process goes away.
Does this also apply to Fragments? Nothing is stated in the docs but just want to make sure.