I\'ve created a common re-usable class for the company I work for to create some common interface elements.
The class, takes in a single parameter as in the constru
Actually your exception mean that you are using Not Activity Context. it could be called from Application context. Check that you are in Activity context since this is not a service