I know that when we press back button, the default function onBackPressed()
is called.
http://developer.android.com/reference/android/app/Activity.html#onBackPressed()
This doc say that "The default implementation simply finishes the current activity".
What does it means, does it mean the default onBackPressed() include the function finish()
?
What is the implementation inside finish()?
Is that onDestroy()
?