Fragment
View onCreateView()
onActivityCreate()
当Activity创建好
getActivity()
宿主
setListAdapter(adapter)
onListItemClick()
getFragmentManager()
commit()
addToBackStack()
View onCreateView()
onActivityCreate()
当Activity创建好
getActivity()
宿主
setArguments(), getArgument()
setListAdapter(adapter)
onListItemClick()
getFragmentManager()
FragmentActivity
getSupportFragmentManager()
FragmentManager
beginTransaction()
FragmentTransaction
add(), replace(), remove()commit()
addToBackStack()