Patrick
12/13/2019, 10:05 AMtseisel
12/13/2019, 11:11 AMThread.currentThread()
that clearly indicates that you are running on Dispatcher.Default. if you are not sure you are running on the Main Thread, wrap the Toast code into withContext(Dispatchers.Main)
.Patrick
12/13/2019, 3:18 PM