private val items = id.switchMap { id -> liveData(viewModelScope.coroutineContext + Dispatchers.IO) { emit(repository.fetchItems(id)) } }