Room支援Maybe、Single和Flowable三種Observable,其運作方式可查看Day25的說明。 先加入dependencies: implementation "android.arch.persistence.room:rxjava2:1.0.0".
確定! 回上一頁