Java Code Examples for com.trello.rxlifecycle2.RxLifecycle#bindUntilEvent()
The following examples show how to use
com.trello.rxlifecycle2.RxLifecycle#bindUntilEvent() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RxLifecycleUtils.java From Aurora with Apache License 2.0 | 4 votes |
public static <T, R> LifecycleTransformer<T> bindUntilEvent(@NonNull final Lifecycleable<R> lifecycleable, final R event) { Preconditions.checkNotNull(lifecycleable, "lifecycleable == null"); return RxLifecycle.bindUntilEvent(lifecycleable.provideLifecycleSubject(), event); }
Example 2
Source File: BaseActivity.java From QuickDevFramework with Apache License 2.0 | 4 votes |
@Override @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull ActivityEvent event) { return RxLifecycle.bindUntilEvent(lifecycleSubject, event); }
Example 3
Source File: BaseActivity.java From QuickDevFramework with Apache License 2.0 | 4 votes |
/** * notify subscriber once {@link #finish()} has been called */ @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilFinish() { return RxLifecycle.bindUntilEvent(finishSubject, finishSignal); }
Example 4
Source File: BaseDialogFragment.java From QuickDevFramework with Apache License 2.0 | 4 votes |
@Override @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull FragmentEvent event) { return RxLifecycle.bindUntilEvent(lifecycleSubject, event); }
Example 5
Source File: BaseFragment.java From QuickDevFramework with Apache License 2.0 | 4 votes |
@Override @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull FragmentEvent event) { return RxLifecycle.bindUntilEvent(lifecycleSubject, event); }
Example 6
Source File: RxLifecycleUtils.java From MVPArms with Apache License 2.0 | 4 votes |
public static <T, R> LifecycleTransformer<T> bindUntilEvent(@NonNull final Lifecycleable<R> lifecycleable, final R event) { Preconditions.checkNotNull(lifecycleable, "lifecycleable == null"); return RxLifecycle.bindUntilEvent(lifecycleable.provideLifecycleSubject(), event); }
Example 7
Source File: SuperFragment.java From AndroidBase with Apache License 2.0 | 4 votes |
@Override @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull FragmentEvent event) { return RxLifecycle.bindUntilEvent(mLifecycleSubject, event); }
Example 8
Source File: SuperActivity.java From AndroidBase with Apache License 2.0 | 4 votes |
@Override @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull ActivityEvent event) { return RxLifecycle.bindUntilEvent(mLifecycleSubject, event); }
Example 9
Source File: RxLifecycleActivity.java From JianshuApp with GNU General Public License v3.0 | 4 votes |
@Override @NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull ActivityEvent event) { return RxLifecycle.bindUntilEvent(lifecycleSubject, event); }
Example 10
Source File: RxLifecycleProvider.java From NGA-CLIENT-VER-OPEN-SOURCE with GNU General Public License v2.0 | 4 votes |
@NonNull @CheckResult public final <T> LifecycleTransformer<T> bindUntilEvent(@NonNull FragmentEvent event) { return RxLifecycle.bindUntilEvent(mLifecycleSubject, event); }