Omertron/api-themoviedb

getGenres is always null

inuyasha82 opened this issue · 1 comments

If i try to get Genres List for a movie, i always receive null object.

TmdbResultsList<MovieDb> moviesList = api.getPopularMovieList(null, 0);
List<MovieDb> cur_list = moviesList.getResults();
MovieDb movie =  cur_List.get(position);
List<Genre> genres = movie.getGenres();

All other fields are populated, but the getGenres method return always null.

The movie info from the lists doesn't have full information.

You need to do a

movie = api.getMovieInfo(movie.getId(),null);

to get the full information