package Ġcom . ath ert on . up next . presentation . features . discover . content Ċ Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġcom . ath ert on . up next . domain . repository . Config Repository Ċ import Ġcom . ath ert on . up next . domain . repository . Settings Repository Ċ import Ġcom . ath ert on . up next . domain . use case . Get Discover Items For Filter UseCase Ċ import Ġcom . ath ert on . up next . presentation . main . Main Component Ċ import Ġcom . ath ert on . up next . presentation . main . Main Module Ċ import Ġcom . ath ert on . up next . presentation . util . App String Provider Ċ import Ġcom . ath ert on . up next . util . injection . App Component Ċ import Ġcom . ath ert on . up next . util . injection . Per View Ċ import Ġcom . ath ert on . up next . util . threading . Rx Schedulers Ċ import Ġdagger . Component Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġjavax . inject . Named Ċ Ċ @ Per View Ċ @ Component ( ĊĠĠĠ Ġdependencies Ġ= Ġ[ App Component :: class ], ĊĠĠĠ Ġmodules Ġ= Ġ[ Main Module :: class , ĠDis cover Content Module :: class ] Ċ ) Ċ interface ĠDis cover Content Component Ġ: ĠMain Component Ġ{ ĊĊĠĠĠ Ġfun Ġinject ( discover Content Fragment : ĠDis cover Content Fragment ) Ċ } ĊĊ Ċ @ Module Ċ class ĠDis cover Content Module ( private Ġval ĠinitialState : ĠDis cover Content State ?) Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Named ( Discover Content ViewModel Factory . NAME ) ĊĠĠĠ Ġ@ Per View Ġinternal Ġfun Ġprovide ViewModel Factory ( ĊĠĠĠĠĠĠĠ Ġsettings Repository : ĠSettings Repository , ĊĠĠĠĠĠĠĠ Ġget Discover Items For Filter UseCase : ĠGet Discover Items For Filter UseCase , ĊĠĠĠĠĠĠĠ Ġconfig Repository : ĠConfig Repository , ĊĠĠĠĠĠĠĠ Ġapp String Provider : ĠApp String Provider , ĊĠĠĠĠĠĠĠ Ġs chedulers : ĠRx Schedulers ĊĠĠĠ Ġ): ĠViewModel Provider . Factory Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠDis cover Content ViewModel Factory ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠinitialState , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsettings Repository , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget Discover Items For Filter UseCase , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġconfig Repository , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġapp String Provider , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġs chedulers ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ