您可以从 LiveData 中发出多个值,方法是在每次想要发出新值时调用 emitSource() 函数。请注意,每次调用 emit() 或 emitSource() 都会移除之前添加的 ...
確定! 回上一頁