-
-
Notifications
You must be signed in to change notification settings - Fork 0
Repository
David edited this page Apr 1, 2020
·
2 revisions
It was decided that the Repository
class would contain the necessary application status data, to be the single source of truth for data, for example:
- The
User
instance that represents the currently logged in user, - The recipient user (in the context of direct messaging where the recipient user receives the messages sent by the logged user)
- The last team the user visited.
Therefore, it is not necessary to pass this information between activities by intent, which frees us from having to place our model objects to implement the Parceable
interface, but we lose some of the code expressiveness.
-
App Structure
1.1. Solution's Architecture and Design Concerns
1.2. Other concerns
1.3. ViewModel
1.4. Repository