Skip to content

Commit

Permalink
Merge pull request #152 from trello/dlew/rxjava-1.2.0
Browse files Browse the repository at this point in the history
Updated to RxJava 1.2.0
  • Loading branch information
dlew authored Sep 19, 2016
2 parents 41ca9ed + caec555 commit 14321f9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ terminate on `STOP`. If you subscribe after `PAUSE`, it will terminate at the ne
## Single and Completable

RxLifecycle supports both `Single` and `Completable` via the `LifecycleTransformer`. You can
convert any returned `LifecycleTransformer` into a `Single.Transformer` or `CompletableTransformer`
convert any returned `LifecycleTransformer` into a `Single.Transformer` or `Completable.Transformer`
via the `forSingle()` and `forCompletable()` methods:

```java
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
targetCompatibilityVersion = JavaVersion.VERSION_1_7

// Define all dependencies in the base project, to unify & make it easy to update
rxJava = 'io.reactivex:rxjava:1.1.9'
rxJava = 'io.reactivex:rxjava:1.2.0'
rxBinding = 'com.jakewharton.rxbinding:rxbinding:0.4.0'
navi = 'com.trello:navi:0.2.2'
kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:$verKotlin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public interface LifecycleTransformer<T> extends Observable.Transformer<T, T> {
*/
@Nonnull
@CheckReturnValue
Completable.CompletableTransformer forCompletable();
Completable.Transformer forCompletable();

}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* That lifecycle event is determined based on what stage we're at in
* the current lifecycle.
*/
final class UntilCorrespondingEventCompletableTransformer<T> implements Completable.CompletableTransformer {
final class UntilCorrespondingEventCompletableTransformer<T> implements Completable.Transformer {

final Observable<T> sharedLifecycle;
final Func1<T, T> correspondingEvents;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Single.Transformer<T, T> forSingle() {

@Nonnull
@Override
public Completable.CompletableTransformer forCompletable() {
public Completable.Transformer forCompletable() {
return new UntilCorrespondingEventCompletableTransformer<>(sharedLifecycle, correspondingEvents);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Continues a subscription until it sees a particular lifecycle event.
*/
final class UntilEventCompletableTransformer<T> implements Completable.CompletableTransformer {
final class UntilEventCompletableTransformer<T> implements Completable.Transformer {

final Observable<T> lifecycle;
final T event;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Single.Transformer<T, T> forSingle() {

@Nonnull
@Override
public Completable.CompletableTransformer forCompletable() {
public Completable.Transformer forCompletable() {
return new UntilEventCompletableTransformer<>(lifecycle, event);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* Continues a subscription until it sees *any* lifecycle event.
*/
final class UntilLifecycleCompletableTransformer<T> implements Completable.CompletableTransformer {
final class UntilLifecycleCompletableTransformer<T> implements Completable.Transformer {

final Observable<T> lifecycle;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public Single.Transformer<T, T> forSingle() {

@Nonnull
@Override
public Completable.CompletableTransformer forCompletable() {
public Completable.Transformer forCompletable() {
return new UntilLifecycleCompletableTransformer<>(lifecycle);
}

Expand Down

0 comments on commit 14321f9

Please sign in to comment.