Skip to content

Nested Fragments lose calls to onCreateOptionsMenu after screen rotation #1

@julurbval

Description

@julurbval

I added setHasOptionsMenu(true); to ParentFragment and TextViewFragment in order to have personalized option menu.
Everything works fine. When I swype between child fragment 1 and child fragment 2 actionbar changes showing optionmenu 1 or optionmenu 2, but when screen rotation happens optionmenus in child fragments 1 and 2 are no longer called after each swype.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions