Skip to content

Conversation

@milandrapic
Copy link

Here I've added a singleton pattern on the service objects. I've done this by changing the LocationService implementation classes, so that they can only create one instance of the class, and in the data folder I adjusted so that the getInstance method is called instead of the constructor.

@Kilo59 Kilo59 closed this Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants