Something went wrong while setting issue due date.
Pressing "Back" button during swap wizard stuffs menu buttons
The menu buttons are only updated when you move to the next screen, but not the previous. For example, going to the last screen, then going back again means there is no longer any menu.
The handling of the menu items should either:
- Move from the activity to the fragments themselves (most correct way but I stuffed it up and couldn't get it working the first time I tried) or
- Instead of after each fragment transaction which adds a fragment being responsible for changing the menu situation, make each of them call a method
updateMenu()
which then decides which menu based on the current state. Then theonBackPressed()
listener can use this too.