Assigned
Status Update
Comments
il...@google.com <il...@google.com>
da...@google.com <da...@google.com>
yo...@gmail.com <yo...@gmail.com> #2
class FixDrawerLayout @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
) : DrawerLayout(context, attrs) {
fun registerToFragmentLifecycle(fragment: Fragment) {
fragment.viewLifecycleOwner.launchOnLifecycleDestroy {
super.onDetachedFromWindow()
}
}
}
Description
Version used: Resizable API 32
Devices/Android versions reproduced on: See above
First of all, so you know it's not just me. The issue has already been reported on the Google Developer Training Github Repo.
Secondly, the issue is shown in a recording attached. If you go to the details pane and rotate the device to landscape, and then return to portrait, the back button takes you to the home screen. You can't go back to the list pane without restarting the app.