我应该使用一个或多个存储库类吗?

时间:2018-02-26 21:12:58

标签: android repository-pattern android-room android-livedata

我正在使用Room数据库构建Android应用。我按照tutorial的建议使用了一个repostory类。一切正常 - 我只是想知道我是否应该在每个DAO的rep.class上使用,或者我是否可以在我的所有数据类的大型rep.class上使用。

0 个答案:

没有答案
相关问题