package Ġcom . mapbox . mapbox sdk . plugins . utils Ċ Ċ import Ġandroid . arch . lifecycle . Lifecycle Ċ import Ġandroid . arch . lifecycle . Lifecycle Owner Ċ import Ġandroid . arch . lifecycle . Lifecycle Registry Ċ Ċ class ĠTest Lifecycle Owner Ġ: ĠLifecycle Owner Ġ{ ĊĠ Ġprivate Ġval Ġlifecycle Registry Ġ= ĠLifecycle Registry ( this ) ĊĊĠ Ġoverride Ġfun Ġget Lifecycle () Ġ= Ġlifecycle Registry ĊĊĠ Ġfun Ġmark State ( state : ĠLifecycle . State ) Ġ{ ĊĠĠĠ Ġlifecycle Registry . mark State ( state ) ĊĠ Ġ} ĊĊĠ Ġfun Ġhandle Lifecycle Event ( event : ĠLifecycle . Event ) Ġ{ ĊĠĠĠ Ġlifecycle Registry . handle Lifecycle Event ( event ) ĊĠ Ġ} Ċ }