package Ġorg . simple . clin ic . registration . facility Ċ Ċ import Ġorg . simple . clin ic . facility . Facility Ċ import Ġorg . simple . clin ic . location . Location Update Ċ import Ġorg . simple . clin ic . util . Runtime Permission Result Ċ import Ġorg . simple . clin ic . widgets . Ui Event Ċ Ċ class ĠRegistration Facility Selection Retry Clicked Ġ: ĠUi Event Ġ{ ĊĠ Ġoverride Ġval Ġanalytics Name Ġ= Ġ" Registration : Facility ĠSelection : Retry ĠClick ed " Ċ } Ċ Ċ data Ġclass ĠRegistration Facility Clicked ( val Ġfacility : ĠFac ility ) Ġ: ĠUi Event Ġ{ ĊĠ Ġoverride Ġval Ġanalytics Name Ġ= Ġ" Registration : Facility ĠSelection : Done ĠClick ed " Ċ } Ċ Ċ data Ġclass ĠRegistration Facility Search Query Changed ( val Ġquery : ĠString ) Ġ: ĠUi Event Ġ{ ĊĠ Ġoverride Ġval Ġanalytics Name Ġ= Ġ" Registration : Facility ĠSelection : Search ĠQuery ĠChanged " Ċ } Ċ Ċ data Ġclass ĠRegistration Facility User Location Updated ( val Ġlocation : ĠLocation Update ) Ġ: ĠUi Event Ġ{ ĊĠ Ġoverride Ġval Ġanalytics Name Ġ= Ġ" Registration : Facility ĠSelection : Location ĠUpdated Ġ${ when Ġ( location ) Ġ{ ĊĠĠĠ Ġis ĠLocation Update . Unavailable Ġ-> Ġ" Turn ed Off " ĊĠĠĠ Ġis ĠLocation Update . Available Ġ-> Ġ" Available " ĊĠ Ġ}}" Ċ } Ċ Ċ data Ġclass ĠRegistration Facility Location Permission Changed ( val Ġresult : ĠRuntime Permission Result ) Ġ: ĠUi Event Ġ{ ĊĠ Ġoverride Ġval Ġanalytics Name Ġ= Ġ" Registration : Facility ĠSelection : Location ĠPermission ĠChanged Ġto Ġ$ result " Ċ } Ċ