Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

androidx.activity

Interfaces

OnBackPressedCallback Interface for handling OnBackPressedDispatcher.onBackPressed() callbacks without strongly coupling that implementation to a subclass of ComponentActivity

Classes

ComponentActivity Base class for activities that enables composition of higher level components. 
OnBackPressedDispatcher Dispatcher that can be used to register OnBackPressedCallback instances for handling the ComponentActivity.onBackPressed() callback via composition.