LifecycleDispatch 在任何地方,监听Activity,Fragment生命周期。 快速使用,gradle依赖,compile 'com.hzh:lifecycle-dispatch:1.0.3'