提示错误:Themethodreplace(int,Fragment)inthetypeFragmentTransactionisnotapplicableforthearguments(int,MyFragment)getFragmentManager().beginTransaction().replace(R.id.container,newUser()).commit();FragmentActivity导入的库不一样,导入一样的即可。看图:http://www.cnblogs...
查看全文