Java Code Examples for com.jess.arms.utils.RxLifecycleUtils#bindToLifecycle()

The following examples show how to use com.jess.arms.utils.RxLifecycleUtils#bindToLifecycle() . 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: RxUtils.java    From TikTok with Apache License 2.0 2 votes vote down vote up
/**
 * 此方法已废弃
 *
 * @param view
 * @param <T>
 * @return
 * @see RxLifecycleUtils 此类可以实现 {@link RxLifecycle} 的所有功能, 使用方法和之前一致
 * @deprecated Use {@link RxLifecycleUtils#bindToLifecycle(IView)} instead
 */
@Deprecated
public static <T> LifecycleTransformer<T> bindToLifecycle(IView view) {
    return RxLifecycleUtils.bindToLifecycle(view);
}
 
Example 2
Source File: RxUtils.java    From Hands-Chopping with Apache License 2.0 2 votes vote down vote up
/**
 * 此方法已废弃
 *
 * @param view
 * @param <T>
 * @return
 * @see RxLifecycleUtils 此类可以实现 {@link RxLifecycle} 的所有功能, 使用方法和之前一致
 * @deprecated Use {@link RxLifecycleUtils#bindToLifecycle(IView)} instead
 */
@Deprecated
public static <T> LifecycleTransformer<T> bindToLifecycle(IView view) {
    return RxLifecycleUtils.bindToLifecycle(view);
}
 
Example 3
Source File: RxUtils.java    From Aurora with Apache License 2.0 2 votes vote down vote up
public static <T> LifecycleTransformer<T> bindToLifecycle(IView view) {
    return RxLifecycleUtils.bindToLifecycle(view);

}
 
Example 4
Source File: RxUtils.java    From MVPArms with Apache License 2.0 2 votes vote down vote up
/**
 * 此方法已废弃
 *
 * @param view
 * @param <T>
 * @return
 * @see RxLifecycleUtils 此类可以实现 {@link RxLifecycle} 的所有功能, 使用方法和之前一致
 * @deprecated Use {@link RxLifecycleUtils#bindToLifecycle(IView)} instead
 */
@Deprecated
public static <T> LifecycleTransformer<T> bindToLifecycle(IView view) {
    return RxLifecycleUtils.bindToLifecycle(view);
}