knthmn
03/02/2021, 4:38 AMonCreate
and onDestroy
(and as long as it is in scope). Is there something I can do to tie it to onStart
and onStop
?Ian Lake
03/02/2021, 6:43 AMknthmn
03/02/2021, 7:52 AMonStart
and onStop
if I do not need to value when my UI is not in foreground (e.g. MediaBrower
client (docs), bound service (docs)).
Obviously I can handle it in my activity, but is there a way to do it in a composable?