Search in sources :

Example 1 with FetchTmdbMovieImagesRunnable

use of app.philm.in.tasks.FetchTmdbMovieImagesRunnable in project philm by chrisbanes.

the class MovieController method fetchMovieImages.

private void fetchMovieImages(final int callingId, String id) {
    Preconditions.checkNotNull(id, "id cannot be null");
    PhilmMovie movie = mMoviesState.getMovie(id);
    if (movie != null && movie.getTmdbId() != null) {
        executeTask(new FetchTmdbMovieImagesRunnable(callingId, movie.getTmdbId()));
    }
}
Also used : PhilmMovie(app.philm.in.model.PhilmMovie) FetchTmdbMovieImagesRunnable(app.philm.in.tasks.FetchTmdbMovieImagesRunnable)

Aggregations

PhilmMovie (app.philm.in.model.PhilmMovie)1 FetchTmdbMovieImagesRunnable (app.philm.in.tasks.FetchTmdbMovieImagesRunnable)1