You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question
the data model that are using for sending between activity/fragment live?
the data model most likely domain's data model but it's can be serialized/Parcelized
The text was updated successfully, but these errors were encountered:
arohim
changed the title
Where the data model for sending between activity/fragment stay.
Where should the data model for sending between activity/fragment stay.
Mar 19, 2019
Sorry for late answer... I assume that you're talking about parcelable/serializable model objects which you will use only to transfer data between activities/fragments. As they contains limited data which won't be used to update/save model locally/remotely (so it is related only to presentation layer) I would add this there (I mean: in presentation module).
Think also about reusing once created viewModel which would have original data and which could be shared between fragments or activities (dependency injection thing ;-) ).
I have a question
the data model that are using for sending between activity/fragment live?
the data model most likely domain's data model but it's can be serialized/Parcelized
The text was updated successfully, but these errors were encountered: