Comments (2)
@urosjarc It does not matter what frameworks or libraries you use in the data layer... you can use what ever you want. What matters is that there is a clear abstraction between what's happening in the data layer and the presentation layer using interfaces. Those interfaces hide the details of what is happening in the data layer. But in this particular case the data layer must use the android library, because it's using Sqlite or shared preferences (I can't remember what one) to do it's data management. What you would not want to do is allow your presentation layer to talk directly to your data layer... or have your data layer talk directly to your presentation layer... also you would not want your data layer to directly effect your UI. I hope that makes sense.
from android-cleanarchitecture.
Thanx for the explanation.
from android-cleanarchitecture.
Related Issues (20)
- Dagger and Single Activity Application with this template
- Where is the MVP's model in the presentation layer? HOT 4
- Handle `SocketTimeoutException` HOT 3
- Dependency with Dagger and android library HOT 2
- How to test presenter method? HOT 4
- Two presenters and one user case: how can link them ? HOT 2
- Failed to find target with hash string 'android-21'. HOT 1
- android-apt plugin is not compatible with Android Gradle HOT 3
- Why let the rxjava intrude into the domain module? HOT 1
- Split view HOT 1
- Unable to test presenter ? HOT 9
- If only the data layer has entities,so domain need depends on data. This breaks the dependency rules right? HOT 2
- 1esZ
- Use of Schedulers on UseCase
- Where do WorkManager, JobScheduler Fit In Clean Architecture? HOT 1
- Full Learning Document or Video
- NDK warning on build HOT 1
- which layer should the mediaplayer be
- 为什么我clone 下工程一直找不到 DaggerApplicationComponent 这个类呢。还有还有几个都找不到
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-cleanarchitecture.