我在更改选项卡主机上的View时遇到问题-当我选择一个选项卡时,内容保持空白。据我所知,onCreateView并未在子fragment上调用。onMenuCreate运行良好,因为菜单会按预期更改。publicclassPatientTabFragmentextendsFragment{privateFragmentTabHostmTabHost;@OverridepublicViewonCreateView(LayoutInflaterinflater,ViewGroupcontainer,BundlesavedInstanceState){mTabHost=newFragment