package Ġcom . d roid con . speak ers . presentation . speaker detail . view model Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġcom . d roid con . commons . conference . domain . Update Session Star red Value Ċ import Ġcom . d roid con . commons . ioc . lifecycle . build ViewModel Ċ import Ġcom . d roid con . commons . tracking . Speaker Detail Tracker Ċ import Ġcom . d roid con . speak ers . domain . Get Speaker Ċ import Ġcom . d roid con . speak ers . domain . Get Speaker Sessions Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠS peaker Detail ViewModel Factory Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġget Speaker : ĠGet Speaker , ĊĠĠĠ Ġprivate Ġval Ġget Speaker Sessions : ĠGet Speaker Sessions , ĊĠĠĠ Ġprivate Ġval Ġupdate Session Star red Value : ĠUpdate Session Star red Value , ĊĠĠĠ Ġprivate Ġval Ġspeaker Detail Tracker : ĠS peaker Detail Tracker Ċ ) Ġ{ ĊĊĠĠĠ Ġfun Ġget ( activity : ĠAppCompatActivity ): ĠS peaker Detail ViewModel Ġ= Ġactivity . build ViewModel Ġ{ ĊĠĠĠĠĠĠĠ ĠS peaker Detail ViewModel ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget Speaker , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget Speaker Sessions , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġupdate Session Star red Value , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġspeaker Detail Tracker ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ }