Search in sources :

Example 1 with FetchTmdbDetailMovieRunnable

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

the class MovieController method fetchDetailMovieFromTmdb.

private void fetchDetailMovieFromTmdb(final int callingId, int id) {
    Preconditions.checkNotNull(id, "id cannot be null");
    PhilmMovie movie = mMoviesState.getMovie(id);
    if (movie != null) {
        movie.markFullFetchStarted(PhilmModel.TYPE_TMDB);
    }
    executeTask(new FetchTmdbDetailMovieRunnable(callingId, id));
}
Also used : PhilmMovie(app.philm.in.model.PhilmMovie) FetchTmdbDetailMovieRunnable(app.philm.in.tasks.FetchTmdbDetailMovieRunnable)

Aggregations

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