At least that’s what Paul Rand said.
Even adding gif-animations (Please don’t pronounce it as dschiff) is design.
Design Patterns. Android already uses a lot of them, so we’re going to talk about those.
First, how about the adapter pattern?
This design pattern allows an interface of an existing class to be used as another interface. In our case, this is to make our movies compatible with the list-view interface provided by android.
If you wonder what else there might be: we’re also using the builder pattern for a small work-around in our program to disable SSL-Checks (Was used when we did not have a valid cert, will be removed before production.) Can be found in the SSLTool class and its method.
The intent of the Builder design pattern is to separate the construction of a complex object from its representation. By doing so the same construction process can create different representations.
The two patterns are marked on the following diagram.
Check the github if you want to see the code.