android10 / android10/Android-CleanArchitecture
How about Realm?
- Ngôn ngữ chính
- Java
- Star
- 15.5k
- Fork
- 3.3k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I was just wondering to know your thoughts about the best way to implement [Realm](https://github.com/realm/realm-java) Entities.
Realm needs the Android Framework, so I cannot have Realm objects in the Domain Layer, so I'm thinking to create other Realm Entities in the Data Layer and then map Domain objects to Realm objects. Does it make sense?
Also, the Repository Interface must return Observables Realm Entities, because I could retrieve data from the Realm database if the cache is not expired. Can I move the Repository Interfaces to the Data Layer?
Thanks.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.