package Ġcom . ra hu log raf y . jc posts . di . module Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġcom . ra hu log raf y . jc posts . di . Application Scoped Ċ import Ġcom . ra hu log raf y . jc posts . di . ViewModel Key Ċ import Ġcom . ra hu log raf y . jc posts . ui . main . activity . MainActivity ViewModel Ċ import Ġcom . ra hu log raf y . jc posts . ui . main . fav our ites . F avour ites Fragment ViewModel Ċ import Ġcom . ra hu log raf y . jc posts . ui . main . home . fragment . Home Fragment ViewModel Ċ import Ġcom . ra hu log raf y . jc posts . ui . main . post detail . fragment . Post Detail Fragment ViewModel Ċ import Ġcom . ra hu log raf y . jc posts . ui . main . posts . fragment . Posts Fragment ViewModel Ċ import Ġcom . ra hu log raf y . jc posts . util . ViewModel Factory Ċ import Ġdagger . Bind s Ċ import Ġdagger . Module Ċ import Ġdagger . mult ib ind ings . Into Map Ċ Ċ @ Module ( ĊĠĠĠ Ġincludes Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠApp Module :: class , ĊĠĠĠĠĠĠĠ ĠRepository Module :: class ĊĠĠĠ Ġ] Ċ ) Ċ abstract Ġclass ĠViewModel Module Ġ{ ĊĊĠĠĠ Ġ@ Application Scoped ĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġabstract Ġfun Ġbind ViewModel Factory ( factory : ĠViewModel Factory ): ĠViewModel Provider . Factory ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( MainActivity ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġbind Home Activity ViewModel ( viewModel : ĠMainActivity ViewModel ): ĠViewModel ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Home Fragment ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġbind Home Fragment ViewModel ( viewModel : ĠHome Fragment ViewModel ): ĠViewModel ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Posts Fragment ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġbind Posts Fragment ViewModel ( viewModel : ĠPosts Fragment ViewModel ): ĠViewModel ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( F avour ites Fragment ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġbind F avour ites Fragment ViewModel ( viewModel : ĠF avour ites Fragment ViewModel ): ĠViewModel ĊĊĠĠĠ Ġ@ Bind s ĊĠĠĠ Ġ@ Into Map ĊĠĠĠ Ġ@ ViewModel Key ( Post Detail Fragment ViewModel :: class ) ĊĠĠĠ Ġabstract Ġfun Ġbind Post Detail Fragment ViewModel ( viewModel : ĠPost Detail Fragment ViewModel ): ĠViewModel Ċ }