Damien O'Sullivan
- Forum posts: 1
Apr 13, 2017, 7:02:04 PM via Website
Apr 13, 2017 7:02:04 PM via Website
Hi,
I have started studying android this year in university.
Our lecturer has asked us to show how we can use design patterns to help synchronize our applications.
In particular, he has asked us how to use the Observer and Singleton patterns to keep our UI's synchronized with our data.
I think I have found how the Observer can be used, but I can't find any examples of how the Singleton can be used to accomplish this.
Can you guys please help me to find the answer?
Thanks in advance for any help,
D.
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.