package Ġde . r ki . cor on aw arn app . ui . main . overview Ċ Ċ import Ġdagger . ass isted . Ass isted Factory Ċ import Ġdagger . ass isted . Ass isted Inject Ċ import Ġde . r ki . cor on aw arn app . app config . AppConfig Provider Ċ import Ġde . r ki . cor on aw arn app . util . view model . C WA ViewModel Ċ import Ġde . r ki . cor on aw arn app . util . view model . Simple C WA ViewModel Factory Ċ import Ġkotlinx . coroutines . flow . map Ċ Ċ class ĠMain Overview ViewModel Ġ@ Ass isted Inject Ġconstructor ( app Config Provider : ĠApp Config Provider ) Ġ: ĠC WA ViewModel () Ġ{ ĊĠĠĠ Ġval Ġmax Encounter Age In Days Ġ= Ġapp Config Provider . current Config . map Ġ{ Ġit . max Encounter Age In Days Ġ}. as LiveData 2 () ĊĊĠĠĠ Ġ@ Ass isted Factory ĊĠĠĠ Ġinterface ĠFactory Ġ: ĠSimple C WA ViewModel Factory < Main Overview ViewModel > Ċ } Ċ