Skip to content

Commit a5bf449

Browse files
committed
Update frodo to version 0.8.2.
1 parent 5e8dbba commit a5bf449

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:1.3.1'
1111
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
12-
classpath "com.fernandocejas.frodo:frodo-plugin:0.8.1"
12+
classpath "com.fernandocejas.frodo:frodo-plugin:0.8.2"
1313
}
1414
}
1515

data/src/main/java/com/fernandocejas/android10/sample/data/net/RestApiImpl.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
import java.util.List;
2727
import rx.Observable;
2828

29+
import static com.fernandocejas.frodo.annotation.RxLogObservable.Scope.SCHEDULERS;
30+
2931
/**
3032
* {@link RestApi} implementation for retrieving data from the network.
3133
*/
@@ -48,7 +50,7 @@ public RestApiImpl(Context context, UserEntityJsonMapper userEntityJsonMapper) {
4850
this.userEntityJsonMapper = userEntityJsonMapper;
4951
}
5052

51-
@RxLogObservable
53+
@RxLogObservable(SCHEDULERS)
5254
@Override public Observable<List<UserEntity>> userEntityList() {
5355
return Observable.create(subscriber -> {
5456
if (isThereInternetConnection()) {
@@ -70,7 +72,7 @@ public RestApiImpl(Context context, UserEntityJsonMapper userEntityJsonMapper) {
7072
});
7173
}
7274

73-
@RxLogObservable
75+
@RxLogObservable(SCHEDULERS)
7476
@Override public Observable<UserEntity> userEntityById(final int userId) {
7577
return Observable.create(subscriber -> {
7678
if (isThereInternetConnection()) {

0 commit comments

Comments
 (0)