Comments (1)
You should have a use case first and then go across the different layers where the domain layer is in which you solve your problem, this means, where your business logic resides. Said that, the data layer is for data and it uses a repository pattern so you could you use it if that satisfy your needs, otherwise it might be a good idea to create something like a service layer for accessing to system services. Whichever approach you use, don't couple any framework stuff with your domain layer and do not go directly from your UI layer to the system services.
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
- Why is data layer defined as "android library" plugin? HOT 2
- 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.