package Ġuk . n hs . n hs x . covid 1 9 . android . app . ex posure . share keys Ċ Ċ import Ġandroidx . activity . view Models Ċ import Ġkotlinx . android . synt hetic . main . activity _ share _ keys _ reminder . do Not Share Results Button Ċ import Ġkotlinx . android . synt hetic . main . activity _ share _ keys _ reminder . share Results Button Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . R Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . app Component Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . common . ViewModel Factory Ċ import Ġuk . n hs . n hs x . covid 1 9 . android . app . util . view utils . setOn Single ClickListener Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠShare Keys Reminder Activity Ġ: ĠShare Keys Base Activity ( R . layout . activity _ share _ keys _ reminder ) Ġ{ ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar ĠviewModel Factory : ĠViewModel Factory < Share Keys Reminder ViewModel > ĊĠĠĠ Ġoverride Ġval ĠviewModel : ĠShare Keys Reminder ViewModel Ġby Ġview Models Ġ{ ĠviewModel Factory Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinject () Ġ= Ġapp Component . inject ( this ) ĊĊĠĠĠ Ġoverride Ġfun Ġsetup OnClick Listeners () Ġ{ ĊĠĠĠĠĠĠĠ Ġshare Results Button . setOn Single ClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠviewModel . on Share Keys Button Clicked () ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġdo Not Share Results Button . setOn Single ClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠviewModel . on DoNot Share Keys Clicked () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ