there is sth wrong with my Application,I try to add three Fragments in another Fragment,then the Eclipse show this:
java.lang.IllegalStateException: Can't retain fragements that are nested in other fragments
this is my code in the childFragments
getChildFragmentManager().beginTransaction()
.add(R.id.shop_fragment_container, shopTopOneFragment)
.add(R.id.shop_fragment_container, shopTopTwoFragment)
.add(R.id.shop_fragment_container, shopTopThreeFragment)
.hide(shopTopTwoFragment).hide(shopTopThreeFragment)
.show(shopTopOneFragment).commit();
any help will be appreciated