kirillrakhman
09/26/2018, 12:46 PMFragment
which implements CoroutineScope
. The default cancellation behavior is to cancel in onDestroy
. But one specific coroutine I want to cancel on a different event, e.g. in onDetach
. Should I create a nested scope or should I just manually cancel the coroutine when the event happens?kingsley
09/26/2018, 3:37 PMonDetach
sounds simple enough. Except this is a recurring behavior, I’d keep things simple 🙂gildor
09/26/2018, 4:45 PMkirillrakhman
10/02/2018, 9:09 AMgildor
10/02/2018, 9:11 AMkirillrakhman
10/02/2018, 9:14 AM