urbanairship-core/src/main/java/com/urbanairship/remotedata/RemoteData.java
private Observable<Set<RemoteDataPayload>> cachedPayloads(final Collection<String> types) {
        return Observable.defer(new Supplier<Observable<Set<RemoteDataPayload>>>() {
            @Override
            public Observable<Set<RemoteDataPayload>> apply() {
                return Observable.just(dataStore.getPayloads(types))
                                 .subscribeOn(Schedulers.looper(backgroundHandler.getLooper()));
            }
        });
    }
/**
     * Produces an Observable of RemoteDataPayload drawn from the cache.
     * Subscription side effects are implicitly tied to the background thread.
     *
     * @param types The data types.
     * @return An Observable of RemoteDataPayload.
     */
Produces an Observable of RemoteDataPayload drawn from the cache.
Subscription side effects are implicitly tied to the background thread.

@param types The data types.
@return An Observable of RemoteDataPayload.
Produces an Observable of RemoteDataPayload drawn from the cache . Subscription side effects are implicitly tied to the background thread . @param types The data types . @return An Observable of RemoteDataPayload .
private Observable<Set<RemoteDataPayload>> cachedPayloads(final Collection<String> types) {
        return Observable.defer(new Supplier<Observable<Set<RemoteDataPayload>>>() {
            @Override
            public Observable<Set<RemoteDataPayload>> apply() {
                return Observable.just(dataStore.getPayloads(types))
                                 .subscribeOn(Schedulers.looper(backgroundHandler.getLooper()));
            }
        });
    }
private Observable < Set < RemoteDataPayload > > cachedPayloads ( final Collection < String > types ) { return Observable . defer ( new Supplier < Observable < Set < RemoteDataPayload > > > ( ) { @ Override public Observable < Set < RemoteDataPayload > > apply ( ) { return Observable . just ( dataStore . getPayloads ( types ) ) . subscribeOn ( Schedulers . looper ( backgroundHandler . getLooper ( ) ) ) ; } } ) ; }
Produces an Observable of RemoteDataPayload drawn from the cache.
Produces an Observable of RemoteDataPayload drawn from the cache .