Fragment 与Activity之间的通信 1.Fragment--》Activity 在fragment中的onAttach()中引用Activity实现的接口实例。 2Activity--》Fragment 直接调用 3多个Fragment通信 通过Actiity间接通信