'Which Design Pattern is used in Android Glide Library?
The Android Glide library can be used in the following way :
Glide.with(context).load(url).placeholder(R.drawable.loading_spinner).into(myImageView);
I have the following doubts :
- Which Design Pattern is being used here ? Is it Builder Pattern alone or Chain of Responsibility Pattern or is it any new Design Pattern ?
- In which scenarios should such a Pattern be used ?
- Can you share any reference link for learning about this Pattern or maybe a Kotlin/Java Example for the same ?
I have tried exploring Glide's Source Code on GitHub, but I couldn't deduce the Design Pattern used and couldn't understand the Implementation.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
