emit 接受 data 类而 emitSource 接受 LiveData<T> ( T -> data )。考虑以下示例:-我有两种类型的调用:- suspend fun getData(): Data // returns directly data.
確定! 回上一頁