本文整理汇总了Java中com.trello.rxlifecycle.RxLifecycle.bindUntilEvent方法的典型用法代码示例。如果您正苦于以下问题:Java RxLifecycle.bindUntilEvent方法的具体用法?Java RxLifecycle.bindUntilEvent怎么用?Java RxLifecycle.bindUntilEvent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.trello.rxlifecycle.RxLifecycle
的用法示例。
在下文中一共展示了RxLifecycle.bindUntilEvent方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Override
@NonNull
@CheckResult
public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull ActivityEvent event) {
return RxLifecycle.bindUntilEvent(lifecycleSubject, event);
}
示例2: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
/**
* Completes an observable when an {@link ActivityEvent} occurs in the activity's lifecycle.
*/
public <T> Observable.Transformer<T, T> bindUntilEvent(final ActivityEvent event) {
return RxLifecycle.bindUntilEvent(lifecycle, event);
}
示例3: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Override
@NonNull
@CheckResult
public final <K> LifecycleTransformer<K> bindUntilEvent(@NonNull PresenterEvent event) {
return RxLifecycle.bindUntilEvent(lifecycleSubject, event);
}
示例4: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Override
@NonNull
@CheckResult
public final <T> Observable.Transformer<T, T> bindUntilEvent(@NonNull ActivityEvent event) {
return RxLifecycle.bindUntilEvent(lifecycleSubject, event);
}
示例5: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Override
@NonNull
@CheckResult
public final <T> Observable.Transformer<T, T> bindUntilEvent(@NonNull FragmentEvent event) {
return RxLifecycle.bindUntilEvent(lifecycleSubject, event);
}
示例6: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@NonNull @Override
public <T> LifecycleTransformer<T> bindUntilEvent(@NonNull LifecycleEvent lifecycleEvent) {
return RxLifecycle.bindUntilEvent(getLifecycle(), lifecycleEvent);
}
示例7: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@NonNull @Override
public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull LifecycleEvent lifecycleEvent) {
return RxLifecycle.bindUntilEvent(getLifecycle(), lifecycleEvent);
}
示例8: bindToLifecycle
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@NonNull
@CheckResult
public final <T> LifecycleTransformer<T> bindToLifecycle() {
return RxLifecycle.bindUntilEvent(lifecycleSubject, QiscusPresenterEvent.DETACH);
}
示例9: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@NonNull
@CheckResult
public final <T> LifecycleTransformer<T> bindUntilEvent(QiscusPresenterEvent qiscusPresenterEvent) {
return RxLifecycle.bindUntilEvent(lifecycleSubject, qiscusPresenterEvent);
}
示例10: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Override
@NonNull
@CheckResult
public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull FragmentEvent event) {
return RxLifecycle.bindUntilEvent(lifecycleSubject, event);
}
示例11: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@NonNull
@Override
public <T> LifecycleTransformer<T> bindUntilEvent(@NonNull FragmentEvent event) {
return RxLifecycle.bindUntilEvent(fragmentLifecycleEvent, event);
}
示例12: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Override
@NonNull
@CheckResult
public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull ActivityEvent event) {
return RxLifecycle.bindUntilEvent(activityLifecycleEvent, event);
}
示例13: bindUntilEvent
import com.trello.rxlifecycle.RxLifecycle; //导入方法依赖的package包/类
@Nonnull
@Override
public <T> LifecycleTransformer<T> bindUntilEvent(@Nonnull FragmentEvent event) {
return RxLifecycle.bindUntilEvent(lifecycle, event);
}