【发布时间】:2013-12-14 18:23:47
【问题描述】:
我按照 android 文档中的教程如何在 Fragment 中使用 Tabhost,但我总是得到
The method setup(android.content.Context, android.support.v4.app.FragmentManager, int) in the type FragmentTabHost is not applicable for the arguments (android.content.Context, android.app.FragmentManager, int)
我的设置命令是这样的:
mTabHost.setup( getActivity().getApplicationContext(), getChildFragmentManager(), R.layout.fragment_vc_view);
【问题讨论】:
标签: android android-tabhost fragment-tab-host