Releases: androidx-releases/Fragment
Release list
1.3.0-beta01
1.2.0-rc05
1.2.0-rc04
1.2.0-rc03
1.2.0-rc02
1.2.0-rc01
1.2.0-beta02
1.2.0-beta01
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)
1.2.0-alpha03
https://developer.android.com/jetpack/androidx/releases/fragment#1.2.0-alpha03
Version 1.2.0-alpha03
September 5, 2019
androidx.fragment:fragment:1.2.0-alpha03, androidx.fragment:fragment-ktx:1.2.0-alpha03, and androidx.fragment:fragment-testing:1.2.0-alpha03 are released. The commits included in this version can be found here.
API changes
- FragmentContainerView is now final. (b/140133091)
Bug fixes
- FragmentContainerView now properly reverses the draw order when popping fragments off the back stack. (b/139104187)
- Fixed an issue where the wrong animation would run when both popping a fragment and adding a new fragment at the same time. (b/111659726)
- Fragments now wait for transitions (in addition to animations, which was fixed in Fragment 1.2.0-alpha02) to finish before dispatching onDestroyView(). (b/138741697)