Federico Pintaluba
I'm a 27 years old developer, I have been coding for more than a decade, but I have focused in Android Development for the past 5 years. Here you will find all my projects, ideas, thoughts. Basically everything I made with <3.

Design Pattern: Observer

Don’t miss out when something interesting happens!

We’ve got a pattern that keeps your objects in the know when something they might care about happens. Objects can even decide at runtime whether they want to be kept informed. The Observer Pattern is one of the most heavily used patterns in the JDK, and it’s incredibly useful.

Head First Design Patterns

The Observer Pattern defines a one-to-many dependency between objects so that when one object changes state, all of its dependents are notified and updated automatically.

Check out the source: https://github.com/pintalubaf/design-patterns/tree/master/src/observer

Share

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *