문제

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?

도움이 되었습니까?

해결책

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top