So, seems like the problem was with nested fragments, defined in xml. If add them programmatically, using getChildFragmentManager()
instead of getFragmentManager()
, everything works fine.
Just put some LinearLayout
tag instead of Fragment
and then put your nested Fragments in it.