package Ġcom . food tech lab . ft l android u ikit . base Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . util . Attribute Set Ċ import Ġandroid . view . View Ċ import Ġcom . food tech lab . ft l android u ikit . util . Theme Manager Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠUm alt Ġon Ġ 0 7 . 1 0 . 2 0 2 0 Ċ Ġ*/ Ċ abstract Ġclass ĠF TL View Ġ@ Jvm Over loads Ġconstructor ( ĊĠĠĠ Ġcontext : ĠContext , ĊĠĠĠ Ġattrs : ĠAttributeSet ? Ġ= Ġnull , ĊĠĠĠ Ġdef Style Attr : ĠInt Ġ= Ġ 0 Ċ ) Ġ: ĠView ( context , Ġattrs , Ġdef Style Attr ), ĠTheme Manager . Theme Changed Listener Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġon Attached To Window () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Attached To Window () ĊĠĠĠĠĠĠĠ ĠTheme Manager . addListener ( this ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Detached From Window () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Detached From Window () ĊĠĠĠĠĠĠĠ ĠTheme Manager . remove Listener ( this ) ĊĠĠĠ Ġ} Ċ }