Daniel
06/21/2021, 3:14 AMLocalActivity
to use with some legacy stuff, so I'm thinking of making it a LocalMySpecificActivity
and adding methods like registerOnDestroy
to it. Is there a better solution?Ian Lake
06/21/2021, 3:18 AMLocalLifecycleOwner
? Adding an observer on that within a DisposableEffect
(that would remove the observer on disposal) would give you all of the lifecycle callbacks at leastDaniel
06/21/2021, 3:19 AM