package Ġcom . home . openc ar share Ċ Ċ import Ġandroid . os . Bundle Ċ Ċ import Ġandroidx . activity . Component Activity Ċ import Ġandroidx . activity . compose . setContent Ċ import Ġandroidx . activity . view Models Ċ import Ġandroidx . appcompat . app . AppCompat Delegate Ċ import Ġandroidx . compose . ui . unit . Experimental Unit Api Ċ import Ġcom . home . openc ar share . screens . Main Screen Ċ import Ġcom . home . openc ar share . screens . view model . Driver ViewModel Ċ import Ġcom . home . openc ar share . screens . view model . Tri ps ViewModel Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ Ċ @ Android EntryPoint Ċ class ĠMainActivity Ġ: ĠComponent Activity () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġdriver ViewModel : ĠDriver ViewModel Ġby Ġview Models () ĊĠĠĠ Ġprivate Ġval Ġpass enger ViewModel : ĠTri ps ViewModel Ġby Ġview Models () ĊĊĠĠĠ Ġ@ Opt In ( Experimental Unit Api :: class ) ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠAppCompat Delegate . setDefault Night Mode ( AppCompat Delegate . getDefault Night Mode ()) ĊĊĠĠĠĠĠĠĠ Ġset Content Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠMain Screen ( driver ViewModel Ġ= Ġdriver ViewModel , Ġpass enger ViewModel Ġ= Ġpass enger ViewModel ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ } ĊĊ