class ViewModel(val repo: Repository) { val liveData = MutableLiveData<String>() fun doSomething { //Do something here viewModelScope.launch(Dispatchers.
確定! 回上一頁