https://kotlinlang.org logo
#android
Title
# android
a

Alf_

01/09/2019, 3:49 PM
Can you guys please help me with Room database question? The MailEntity class have a 1/Many relationship with AttachedEntity so I want to retrieve a MailEntity Item with the list of its AttachedEntity items. I found a guide to do that by creating a MailAndAttachedEntity item but the main problem here is to move that along data, domain and presentation layers. Should I deconstruct that into Correo and Attached items inside the domain layer mapper or should I create a MailAndAttached class for domain layer and the class MailAndAttachedView for the presentation one? Thanks in advanced!
r

rkeazor

01/09/2019, 5:45 PM
This is a Kotlin channel. only Kotlin related questions