Search in sources :

Example 1 with FetchTraktDetailMovieRunnable

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

the class MovieController method fetchDetailMovieFromTrakt.

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

Aggregations

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