Java 类android.arch.lifecycle.LifecycleFragment 实例源码

项目:RxComponentLifecycle    文件:RxLifecycle.java   
public static RxLifecycle with(LifecycleFragment lifecycleFragment) {
    return new RxLifecycle(lifecycleFragment.getLifecycle());
}
项目:RxLifeCycle    文件:AndroidLifecycleFragmentTest.java   
@Test
public void testLifecycleFragment() {
    testLifecycle(new LifecycleFragment());
    testBindUntilEvent(new LifecycleFragment());
    testBindToLifecycle(new LifecycleFragment());
}