The Flyweight design pattern is used to balance memory usage in an app by reusing objects from a pool of similar objects. It can save memory and CPU in object creation, but there are tradeoffs in managing object removal and memory allocation. An example of using the Flyweight pattern is to save memory when using the same image
•3m read time• From proandroiddev.com
Sort: