package Ġorg . simple . clin ic . forgot pin . cre aten ew pin Ċ Ċ import Ġorg . simple . clin ic . facility . Facility Ċ import Ġorg . simple . clin ic . mob ius . View Renderer Ċ import Ġorg . simple . clin ic . user . User Ċ import Ġorg . simple . clin ic . util . ValueChanged Callback Ċ Ċ class ĠF orgot Pin Create New Ui Renderer ( ĊĠĠĠ Ġprivate Ġval Ġui : ĠF orgot Pin Create New Pin Ui Ċ ) Ġ: ĠView Renderer < Forgot Pin Create New Model > Ġ{ ĊĊĠ Ġprivate Ġval Ġuser Changed Callback Ġ= ĠValue Changed Callback < User >() ĊĠ Ġprivate Ġval Ġfacility Changed Callback Ġ= ĠValue Changed Callback < Facility >() ĊĊĠ Ġoverride Ġfun Ġrender ( model : ĠF orgot Pin Create New Model ) Ġ{ ĊĠĠĠ Ġif Ġ( model . has User ) Ġ{ ĊĠĠĠĠĠ Ġuser Changed Callback . pass ( model . user !! ) Ġ{ ĊĠĠĠĠĠĠĠ Ġui . show UserName ( it . fullName ) ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġif Ġ( model . has Facility ) Ġ{ ĊĠĠĠĠĠ Ġfacility Changed Callback . pass ( model . facility !! ) Ġ{ ĊĠĠĠĠĠĠĠ Ġui . show Facility ( it . name ) ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ