1
내가 조각 내 Tabhost를 사용하는 방법 안드로이드 설명서의 튜토리얼을 따라 작업,하지만 난 항상 받고 있어요하지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.app.Fragment 가져 오기 android.support.v4.app.Fragment –
모든 업데이트? 효과가 있었나요? –