package Ġcom . kim h au . bit buckets . ui . main Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . activity . view Models Ċ import Ġandroidx . annotation . Visible ForTesting Ċ import Ġcom . kim h au . bit buckets . R Ċ import Ġcom . kim h au . bit buckets . databinding . Activity Main Binding Ċ import Ġcom . kim h au . bit buckets . ui . adapter . Bit bucket Adapter Ċ import Ġcom . sky do ves . bind ables . Binding Activity Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ Ċ @ Android EntryPoint Ċ class ĠMainActivity Ġ: ĠBinding Activity < Activity Main Binding >( R . layout . activity _ main ) Ġ{ ĊĊĠĠĠ Ġ@ Visible ForTesting ĊĠĠĠ Ġval ĠviewModel : ĠMain ViewModel Ġby Ġview Models () ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġbinding Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlifecycle Owner Ġ= Ġthis @ MainActivity ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadapter Ġ= ĠBit bucket Adapter () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġvm Ġ= ĠviewModel ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }