How to use live data with coroutines in Android. ... class MyRepository { fun getUser(id: String) = liveData<User> { val disposable = emitSource( userDao.
確定! 回上一頁