// Path: app/src/main/java/com/wiseass/profiler/data/photos/Photo.java
// public class Photo {
//    private String photoUri;
// 
//     public Photo(String photoUri) {
//         this.photoUri = photoUri;
//     }
// 
//     public String getPhotoUri() {
//         return photoUri;
//     }
// 
//     public void setPhotoUri(String photoUri) {
//         this.photoUri = photoUri;
//     }
// }
// 
// Path: app/src/main/java/com/wiseass/profiler/data/photos/PhotoSource.java
// public interface PhotoSource {
//     Maybe<List<Photo>> getThumbnails(ContentResolver resolver);
// 
//     void setReturnFail(boolean bool);
// }
// 
// Path: app/src/main/java/com/wiseass/profiler/util/BaseSchedulerProvider.java
// public interface BaseSchedulerProvider {
// 
//     Scheduler computation();
// 
//     Scheduler io();
// 
//     Scheduler ui();
// }


import android.content.ContentResolver;
import com.wiseass.profiler.data.photos.Photo;
import com.wiseass.profiler.data.photos.PhotoSource;
import com.wiseass.profiler.util.BaseSchedulerProvider;
import java.util.List;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.observers.DisposableMaybeObserver;
package com.wiseass.profiler.photogallery;






/**
 * Created by Ryan on 04/01/2017.
 */

public class PhotoGalleryPresenter implements PhotoGalleryContract.Presenter {

    private final BaseSchedulerProvider schedulerProvider;
    private PhotoSource photoSource;
    private PhotoGalleryContract.View view;
    private List<Photo> photos;
    private CompositeDisposable subscriptions;
    private ContentResolver resolver;

    public PhotoGalleryPresenter(PhotoGalleryContract.View view,
// Path: app/src/main/java/com/wiseass/profiler/data/photos/Photo.java
// public class Photo {
//    private String photoUri;
// 
//     public Photo(String photoUri) {
//         this.photoUri = photoUri;
//     }
// 
//     public String getPhotoUri() {
//         return photoUri;
//     }
// 
//     public void setPhotoUri(String photoUri) {
//         this.photoUri = photoUri;
//     }
// }
// 
// Path: app/src/main/java/com/wiseass/profiler/data/photos/PhotoSource.java
// public interface PhotoSource {
//     Maybe<List<Photo>> getThumbnails(ContentResolver resolver);
// 
//     void setReturnFail(boolean bool);
// }
// 
// Path: app/src/main/java/com/wiseass/profiler/util/BaseSchedulerProvider.java
// public interface BaseSchedulerProvider {
// 
//     Scheduler computation();
// 
//     Scheduler io();
// 
//     Scheduler ui();
// }


// Path: app/src/main/java/com/wiseass/profiler/photogallery/PhotoGalleryPresenter.java
import android.content.ContentResolver;
import com.wiseass.profiler.data.photos.Photo;
import com.wiseass.profiler.data.photos.PhotoSource;
import com.wiseass.profiler.util.BaseSchedulerProvider;
import java.util.List;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.observers.DisposableMaybeObserver;

package com.wiseass.profiler.photogallery;






/**
 * Created by Ryan on 04/01/2017.
 */

public class PhotoGalleryPresenter implements PhotoGalleryContract.Presenter {

    private final BaseSchedulerProvider schedulerProvider;
    private PhotoSource photoSource;
    private PhotoGalleryContract.View view;
    private List<Photo> photos;
    private CompositeDisposable subscriptions;
    private ContentResolver resolver;

    public PhotoGalleryPresenter(PhotoGalleryContract.View view,
                                 PhotoSource photoSource,