标签:
fragment之间通信除了通过activity之外还可以通过bundle来实现
Bundle bundle = new Bundle(); bundle.putString("key","value"); MenuFragment menuFragment = new MenuFragment(); menuFragment.setArguments(bundle);
取数据时用
Bundle bundle = menuFragment.getArguments();
标签:
原文地址:http://www.cnblogs.com/ruoshuiwuxin/p/5928260.html