I\'m trying to trigger an update on LiveData from a coroutine:
object AddressList: MutableLiveData>() fun getAddressesLiveData(): L
In my case, I had to add Dispatchers.Main to the launch arguments and it worked fine:
val job = GlobalScope.launch(Dispatchers.Main) { delay(1500) search(query) }