package Ġcom . kotlin byte . presentation . features . signin Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġandroidx . activity . result . Activity Result Registry Ċ import Ġandroidx . activity . result . contract . Activity Result Contract Ċ import Ġandroidx . fragment . app . view Models Ċ import Ġcom . google . android . gms . auth . api . signin . Google SignIn Account Ċ import Ġcom . google . android . gms . tasks . Task Ċ import Ġcom . kotlin byte . domain _ android _ overlay . navigation . result . Google SignIn Result Contract Ċ import Ġcom . kotlin byte . domain _ android _ overlay . platform . Base Fragment Ċ import Ġcom . kotlin byte . domain _ android _ overlay . platform . Base View Binding Fragment Ċ import Ġcom . kotlin byte . presentation . databinding . Fragment Sign in Binding Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ import Ġjavax . inject . Inject Ċ Ċ @ Android EntryPoint Ċ class ĠSign In Fragment Ġ: ĊĠĠĠ ĠBase View Binding Fragment < Fragment Sign in Binding >( Fragment Sign in Binding :: inflate ) Ġ{ ĊĊĠĠĠ Ġprivate Ġval ĠviewModel : ĠSign In ViewModel Ġby Ġview Models () ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġregistry : ĠActivity Result Registry ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġgoogle Auth SignIn Result Contract : ĠActivity Result Contract < Int , ĠTask < Google SignIn Account > ?> ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġregister For Activity Result ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġgoogle Auth SignIn Result Contract , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġregistry , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠviewModel :: signIn Via Google ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġon SignIn Button Clicked (){ ĊĊĠĠĠ Ġ} Ċ }