package Ġcom . k iz iton wo se . android . dispose bag Ċ Ċ import Ġandroid . arch . lifecycle . Lifecycle Ċ import Ġandroid . arch . lifecycle . Lifecycle Owner Ċ import Ġandroid . arch . lifecycle . Lifecycle Registry ĊĊ Ċ /** Ċ Ġ* ĠCreated Ġby ĠK iz ito ĠN wo se Ċ Ġ*/ Ċ Ċ class ĠTest Lifecycle Owner Ġ: ĠLifecycle Owner Ġ{ ĊĊĠĠĠ Ġval Ġlifecycle Registry Ġ= ĠLifecycle Registry ( this ) ĊĊĠĠĠ Ġoverride Ġfun Ġget Lifecycle () Ġ= Ġlifecycle Registry ĊĊĠĠĠ Ġfun Ġperform Event ( event : ĠLifecycle . Event ) Ġ= Ġlifecycle Registry . handle Lifecycle Event ( event ) ĊĊĠĠĠ Ġfun Ġperform Pause () Ġ= Ġperform Event ( Lifecycle . Event . ON _ PAUSE ) ĊĊĠĠĠ Ġfun Ġperform Stop () Ġ= Ġperform Event ( Lifecycle . Event . ON _ STOP ) ĊĊĠĠĠ Ġfun Ġperform Destroy () Ġ= Ġperform Event ( Lifecycle . Event . ON _ DESTROY ) Ċ } Ċ