use of app.philm.in.model.PhilmPerson in project philm by chrisbanes.
the class MovieController method fetchPersonCreditsIfNeeded.
private void fetchPersonCreditsIfNeeded(final int callingId, String id) {
Preconditions.checkNotNull(id, "id cannot be null");
PhilmPerson person = mMoviesState.getPerson(id);
if (person != null && !person.hasFetchedCredits()) {
fetchPersonCredits(callingId, person);
}
}
Aggregations