generatePlaceholderImage
This function will return a DrawableResolver. The DrawableResolver is chosen based on the hashcode of the given objects in args.
For the same objects the same DrawableResolver will be returned.
Throws
if the gradientList is empty.