Question

So from a few days I've seen warning in my whole application about super.onPause(), super.onDestroy(), super.onResume() and etc. has been deprecated. I want to ask is if that means that in the future these methods will not be invoke as they were working before..and which is the new ways to control and invoke the specific things which I want to use or initialize in these methods. Fragments?

Was it helpful?

Solution

Read the docs on ActivityGroup. Here's a relevant quote (which you seem to have read, but future readers might not):

This class is deprecated. Use the new Fragment and FragmentManager APIs instead; these are also available on older platforms through the Android compatibility package.

If I were you I'd replace the use of ActivityGroup if possible (i.e. assume they'll stop working as expected).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top