This is simple mvp pattern library for android.
SimpleMvp support rxlifecyle(https://github.com/trello/RxLifecycle).
Observable.just("1","2",3).compose(RxLifecycle.bindUntilEvent(lifecycle(), ActivityEvent.DESTROY));
Observable.just("1","2",3).compose(RxLifecycle.bindUntilEvent(lifecycle(), FragmentEvent.DESTROY));
Observable.just("1","2",3).compose(RxLifecycle.bindUntilEvent(lifecycle(), PresenterEvent.DETACH_VIEW));