Added FragmentLifecycleMethod.