samedi 5 janvier 2019

is Context in Android an implementation of a complex Strategy design pattern?

I was reading several guides and one book about the Strategy pattern. I noticed that in all the guides there is a referall to a Contextclass that favoring delegation over implementation decide for some specific behaviors.
As I manage in android the class, object Context on daily basis, I would like to know if the SDK engineers tought at the Android Contextas a concrete (complex) implementation of the strategy pattern.

Aucun commentaire:

Enregistrer un commentaire