Hi everyone, just a quick question: For everyone u...
# android
i
Hi everyone, just a quick question: For everyone using coroutines, when do you think it's best to cancel the children jobs of a lifecycle owner? I'm currently using in onStop, which is kind of balanced, not too often but not as rare as once when the component is destroyed, what are your thoughts?
j

https://www.youtube.com/watch?v=a3agLJQ6vt8

this is the conference from Elisarov this year in Kotlinconf
quite nice explaining how to deal with death coroutines
I guess it will help on when to cancel them
i
thanks, i'll take a look at it, but I really wanted to know what do people do usually at production
p
Viewmodel::onClear
👍 1