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
How do you access for example methods of the LocationManager or the AlarmManager? And where should they be located in your described architecture? Domain-, Data- or Presentation-Layer? In my opinion it should be placed in the Datalayer and accessed through an interface.
The text was updated successfully, but these errors were encountered:
You should have a use case first and then go across the different layers where the domain layer is in which you solve your problem, this means, where your business logic resides. Said that, the data layer is for data and it uses a repository pattern so you could you use it if that satisfy your needs, otherwise it might be a good idea to create something like a service layer for accessing to system services. Whichever approach you use, don't couple any framework stuff with your domain layer and do not go directly from your UI layer to the system services.
How do you access for example methods of the LocationManager or the AlarmManager? And where should they be located in your described architecture? Domain-, Data- or Presentation-Layer? In my opinion it should be placed in the Datalayer and accessed through an interface.
The text was updated successfully, but these errors were encountered: