zokipirlo
12/06/2018, 3:36 PMadd
, remove
) on MutableList
only in actor
which runs in Dispatcher.MAIN
, is it safe to call contains
in other context (<http://Dispatcher.IO|Dispatcher.IO>
) or should rather check that in withContext(Main)
before sending to actor
?bdawg.io
12/06/2018, 4:03 PMcontains
an elementzokipirlo
12/06/2018, 4:31 PMuli
12/06/2018, 4:55 PMcontains
? On your next line of code the result might not be valid any more.zokipirlo
12/07/2018, 7:14 AM