android10 / android10/Android-CleanArchitecture-Kotlin

Question : How to tidy up the different data models in each feature.

Aperta
#119 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Kotlin
Stelle
4.8k
Fork
929
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I would like to know what is the correct way to organize the different Models that represent the same Object in the different Layer of the application.
For example in the feature "Movies" I see you put all your Data class related to Movie in the same package without hierarchy.
MovieEntity from the Api
Movie from repository
Then MovieView from the ViewModel.

Do you have any tips on how and where to handle all this models.

Thanks.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.