fun onBackPressed(): Boolean
(source)
Overrides Toolbar.onBackPressed
Should be called by an activity when the user pressed the back key of the device.
Return
Returns true if the back press event was handled and should not be propagated further.