1.2.0-alpha04
https://developer.android.com/jetpack/androidx/releases/fragment#1.2.0-alpha04
Version 1.2.0-alpha04
September 18, 2019
androidx.fragment:fragment:1.2.0-alpha04, androidx.fragment-ktx:example:1.2.0-alpha04, and androidx.fragment:fragment-testing:1.2.0-alpha04 are released. Version 1.2.0-alpha04 contains these commits.
Note: The Kotlin dependant libraries of this version (fragment-ktx,fragment-testing) target Java 8 bytecode. Please see our Use Java 8 language features page on using Java 8 in your project.
API changes
- The getFragmentManager() and requireFragmentManager() methods on Fragment have been deprecated and replaced with a single getParentFragmentManager() method, which returns the non-null FragmentManager the Fragment is added to (you can use isAdded() to determine if it is safe to call). (b/140574496)
- The static FragmentManager.enableDebugLogging method has been deprecated. FragmentManager now respects Log.isLoggable() for the tag FragmentManager, allowing you to enable either DEBUG or VERBOSE logging without re-compiling your app. (aosp/1116591)
Bug fixes
- Fragments are now properly destroyed while exit animations on other fragments are running. (b/140574199)
- Fixed an issue where Fragments would call Activity.findViewById() where before it did not. (aosp/1116431)