private void initialise ( String apiKey , HttpTools httpTools ) { tmdbAccount = new TmdbAccount ( apiKey , httpTools ) ; tmdbAuth = new TmdbAuthentication ( apiKey , httpTools ) ; tmdbCertifications = new TmdbCertifications ( apiKey , httpTools ) ; tmdbChanges = new TmdbChanges ( apiKey , httpTools ) ; tmdbCollections = new TmdbCollections ( apiKey , httpTools ) ; tmdbCompany = new TmdbCompanies ( apiKey , httpTools ) ; tmdbConfiguration = new TmdbConfiguration ( apiKey , httpTools ) ; tmdbCredits = new TmdbCredits ( apiKey , httpTools ) ; tmdbDiscover = new TmdbDiscover ( apiKey , httpTools ) ; tmdbFind = new TmdbFind ( apiKey , httpTools ) ; tmdbGenre = new TmdbGenres ( apiKey , httpTools ) ; tmdbKeywords = new TmdbKeywords ( apiKey , httpTools ) ; tmdbList = new TmdbLists ( apiKey , httpTools ) ; tmdbMovies = new TmdbMovies ( apiKey , httpTools ) ; tmdbNetworks = new TmdbNetworks ( apiKey , httpTools ) ; tmdbPeople = new TmdbPeople ( apiKey , httpTools ) ; tmdbReviews = new TmdbReviews ( apiKey , httpTools ) ; tmdbSearch = new TmdbSearch ( apiKey , httpTools ) ; tmdbTv = new TmdbTV ( apiKey , httpTools ) ; tmdbSeasons = new TmdbSeasons ( apiKey , httpTools ) ; tmdbEpisodes = new TmdbEpisodes ( apiKey , httpTools ) ; }
Initialise the sub - classes once the API key and http client are known