Add FragmentLifecycleCallbacks
Add a new callback object that can be attached to a FragmentManager to observe all fragment lifecycle events within that FragmentManager. Useful for dependency injection and other shenanigans. FragmentLifecycleCallbacks can be registered as recursive, in which case they will be activated for any lifecycle events that happen in descendant FragmentManagers as well. Test: cts-tradefed run singleCommand cts --skip-preconditions --skip-device-info --module CtsFragmentTestCases Change-Id: I816b1fbef6c29616ccc3fd729ee847c5f1a6f72f
Loading
Please register or sign in to comment