Parent #17173
This issue is about resolving the onActivityCreated(...) compile warnings for the WordPress module, and possibly, for the lib modules as well.
PS: Some of those warnings are already deprecated (see here).
Use onViewCreated(View, Bundle) for code touching the view created by onCreateView and onCreate(Bundle) for other initialization. To get a callback specifically when a Fragment activity's Activity.onCreate(Bundle) is called, register a
androidx.lifecycle.LifecycleObserver on the Activity's Lifecycle in onAttach(Context), removing it when it receives the Lifecycle.State.CREATED callback.
For more info see: