package Ġjp . co . sor am its u . feature _ staking _ impl . presentation . validators . details . view Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . util . Attribute Set Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . LinearLayout Ċ import Ġjp . co . sor am its u . feature _ staking _ impl . R Ċ import Ġjp . co . sor am its u . feature _ staking _ impl . presentation . validators . details . model . Identity Model Ċ import Ġkotlinx . android . synt hetic . main . view _ validator _ identity . view . validator Identity Email View Ċ import Ġkotlinx . android . synt hetic . main . view _ validator _ identity . view . validator Identity Legal Name View Ċ import Ġkotlinx . android . synt hetic . main . view _ validator _ identity . view . validator Identity R iot Name View Ċ import Ġkotlinx . android . synt hetic . main . view _ validator _ identity . view . validator Identity Twitter View Ċ import Ġkotlinx . android . synt hetic . main . view _ validator _ identity . view . validator Identity WebView Ċ Ċ class ĠValidator Identity View Ġ@ Jvm Over loads Ġconstructor ( ĊĠĠĠ Ġcontext : ĠContext , ĊĠĠĠ Ġattrs : ĠAttributeSet ? Ġ= Ġnull , ĊĠĠĠ Ġdef Style : ĠInt Ġ= Ġ 0 , Ċ ) Ġ: ĠLinearLayout ( context , Ġattrs , Ġdef Style ) Ġ{ ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ ĠView . inflate ( context , ĠR . layout . view _ validator _ identity , Ġthis ) ĊĊĠĠĠĠĠĠĠ Ġorientation Ġ= ĠV ERT ICAL ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġpopulate Identity ( identity : ĠIdentity Model ) Ġ{ ĊĠĠĠĠĠĠĠ Ġvalidator Identity Legal Name View . set Body Or Hide ( identity . legal ) ĊĠĠĠĠĠĠĠ Ġvalidator Identity Email View . set Body Or Hide ( identity . email ) ĊĠĠĠĠĠĠĠ Ġvalidator Identity WebView . set Body Or Hide ( identity . web ) ĊĠĠĠĠĠĠĠ Ġvalidator Identity Twitter View . set Body Or Hide ( identity . twitter ) ĊĠĠĠĠĠĠĠ Ġvalidator Identity R iot Name View . set Body Or Hide ( identity . ri ot ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Web ClickListener ( click Listener : Ġ() Ġ-> ĠUnit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġvalidator Identity WebView . setOnClickListener Ġ{ Ġclick Listener () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Email ClickListener ( click Listener : Ġ() Ġ-> ĠUnit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġvalidator Identity Email View . setOnClickListener Ġ{ Ġclick Listener () Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Twitter ClickListener ( click Listener : Ġ() Ġ-> ĠUnit ) Ġ{ ĊĠĠĠĠĠĠĠ Ġvalidator Identity Twitter View . setOnClickListener Ġ{ Ġclick Listener () Ġ} ĊĠĠĠ Ġ} Ċ } Ċ