package Ġid . ac . es a ung g ul . bre ast c ancer detection . ui . auth . register Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . navigation . nav Graph ViewModels Ċ import Ġcom . github . raz ir . progress button . bind Progress Button Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ import Ġid . ac . es a ung g ul . bre ast c ancer detection . R Ċ import Ġid . ac . es a ung g ul . bre ast c ancer detection . databinding . Fragment Register Binding Ċ import Ġid . ac . es a ung g ul . bre ast c ancer detection . ui . auth . Auth ViewModel Ċ import Ġid . ac . es a ung g ul . bre ast c ancer detection . util . extensions . apply Insets Ċ import Ġid . ac . es a ung g ul . bre ast c ancer detection . util . extensions . end Shared Axis Transition Ċ Ċ @ Android EntryPoint Ċ class ĠRegister Fragment Ġ: ĠFragment () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġauth ViewModel : ĠAuth ViewModel Ġby Ġnav Graph ViewModels ( R . id . navigation _ auth ) Ġ{ ĊĠĠĠĠĠĠĠ Ġdefault ViewModel Provider Factory ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġend Shared Axis Transition () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠĠĠĠĠ Ġinflater : ĠLayoutInflater , ĊĠĠĠĠĠĠĠ Ġcontainer : ĠViewGroup ?, ĊĠĠĠĠĠĠĠ ĠsavedInstanceState : ĠBundle ? ĊĠĠĠ Ġ): ĠView ? Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbinding Ġ= ĠFragment Register Binding . inflate ( in flater , Ġcontainer , Ġfalse ) ĊĊĠĠĠĠĠĠĠ Ġbinding . lifecycle Owner Ġ= Ġview Lifecycle Owner ĊĠĠĠĠĠĠĠ Ġbinding . auth ViewModel Ġ= Ġauth ViewModel ĊĠĠĠĠĠĠĠ Ġview Lifecycle Owner . bind Progress Button ( binding . register Button ) ĊĊĠĠĠĠĠĠĠ Ġapply Insets ( binding . register Parent Layout ) ĊĊĠĠĠĠĠĠĠ Ġreturn Ġbinding . root ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Destroy View () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Destroy View () ĊĊĠĠĠĠĠĠĠ Ġauth ViewModel . release () ĊĠĠĠ Ġ} Ċ }