Observer Design Pattern
Intent
It is used when there is a one-to-many relationship between objects. So, if one object is modified, its dependent objects will be automatically notified.
Problem
Imagine that we have an electronics store, and there will be a new phone coming ...
metwalli.hashnode.dev2 min read