Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
jb...@google.com <jb...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
Description
Component used: Fragment
Version used:1.3.0
Devices/Android versions reproduced on: Emulator Api level 30
Sample project:https://github.com/libon/BottomNavigationApp
Starting with activity 1.2.0 and fragment 1.3.0: when showing a fragment, it's onCreateOptionsMenu() isn't called.
Two workarounds are possible:
FragmentManager.enableNewStateManager(false)
requireActivity().invalidateOptionsMenu()
fromonHiddenChanged(hidden: Boolean)