今天学习了fragment接收数据的方法。
Bundle bundle=getArguments(); str=null; if(bundle!=null) str=bundle.getString("nowid");