Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
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)