package Ġcom . world sn as . base Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġcom . blue lin el abs . cond uctor . Controller Ċ import Ġcom . blue lin el abs . cond uctor . Controller Change Handler Ċ import Ġcom . blue lin el abs . cond uctor . Controller Change Type Ċ import Ġcom . squareup . leak can ary . Leak Can ary Ċ Ċ abstract Ġclass ĠRef Watch ing Controller Ġ@ Jvm Over loads Ġconstructor ( ĊĠĠĠ Ġbundle : ĠBundle ? Ġ= Ġnull Ċ ) Ġ: ĠController ( bundle ) Ġ{ ĊĊĠĠĠ Ġprivate Ġvar Ġhas Exit ed : ĠBoolean Ġ= Ġfalse ĊĊĠĠĠ Ġoverride Ġfun Ġon Destroy () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Destroy () ĊĊĠĠĠĠĠĠĠ Ġif Ġ( has Exit ed ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLe ak Can ary . installed Ref Watcher (). watch ( this ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonChange Ended ( change Handler : ĠController Change Handler , Ġchange Type : ĠController Change Type ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onChange Ended ( change Handler , Ġchange Type ) ĊĊĠĠĠĠĠĠĠ Ġhas Exit ed Ġ= Ġ! change Type . is Enter ĊĠĠĠĠĠĠĠ Ġif Ġ( is Destroyed ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLe ak Can ary . installed Ref Watcher (). watch ( this ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }