android10 / android10/Android-CleanArchitecture

Android device specific module

Aperta
#220 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
15.5k
Fork
3.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello,

This is intended to be more of an open discussion, than an actual issue.
I want to add some Android specific components in the project, like the Bluetooth and I want to keep the clean architecture.
Currently I have 4 modules:

- `common` - utility stuff that can be used by all the modules (even other projects) - pure Java
- `data` - everything related to data
- `domain` - entities, use cases, repositories
- `presentation` - everything related to the UI

I was thinking to add these to the `data` module, but this could be out of scope for that module as it will handle other things beside data.

On a presentation made by **Tomislav Homan**, I've read that a new module could be added which can include Android stuff such as sensors, alarms, notifications, players, all kinds of Managers, and so on.
Something like a `device` module which should have the actual implementation of the Android specific stuff and expose it via Observables or interfaces.

What do you think it is the best approach for this in order to keep the clean architecture and to respect the dependency rule. If you know/have examples with source code that will be even greater.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Esamina i moduli esistenti common, data, domain e presentation e le relative relazioni di dipendenza. Valuta quindi il modulo device proposto per componenti specifici di Android come Bluetooth, sensori, allarmi, notifiche e player; il lavoro è completato quando è stato raggiunto e documentato un approccio architetturale concordato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
mobile
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
15/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.