Skip to content

Commit

Permalink
Update ImageDao.java
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalbuddha authored Feb 11, 2017
1 parent 4c40d6e commit f093583
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/main/java/com/rx/demo/dao/ImageDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public ImageResponse load(ImageRequest request) throws Exception {
public Observable<Result> fetchImageResults(ImageRequest request) {
return load(request)
.flatMap(imageResponse -> Observable.from(imageResponse.getResponseData().getCursor().getPages()))
.observeOn(Schedulers.io())
.concatMap((Page page) -> getPage(request.getSearchTerm(), page))
.concatMap(this::streamOfImages);
}
Expand Down

0 comments on commit f093583

Please sign in to comment.