Using Application.onConfigurationChanged

EDIT: I know how to handle configuration changes; this request uses the Application class for this task.

I see many examples where the Application class is used as a “global” class to store state variables. But I'm curious to know the use of methods that I always thought were related to the individual activity life cycle ... for example, onConfigurationChanged () and registerComponentCallbacks ().

I could not find examples of how to use these methods. I am requesting some use cases / patterns in which support for these methods may help.

Thank!

+5
source share

All Articles