Vinicius Carvalho
09/24/2018, 1:53 PMlaunch
should happen at the UI context if we need to update any component from the UI, and any networking call should happen on a CommonPool
context?gildor
09/24/2018, 2:34 PMgildor
09/24/2018, 2:36 PMSam
09/24/2018, 2:55 PMSam
09/24/2018, 2:56 PMgildor
09/24/2018, 2:58 PMgildor
09/24/2018, 2:59 PMgildor
09/24/2018, 2:59 PMgildor
09/24/2018, 3:00 PMgildor
09/24/2018, 3:00 PMSam
09/24/2018, 3:00 PMgildor
09/24/2018, 3:01 PMstartTask
doesn't return job, so user of this APi cannot join or cancel this taskgildor
09/24/2018, 3:02 PMSam
09/24/2018, 3:02 PMgildor
09/24/2018, 3:04 PMSam
09/24/2018, 3:06 PMgildor
09/24/2018, 3:07 PMSam
09/24/2018, 3:11 PMprotected val scope: CoroutineScope = job + Dispatchers.Main