title: How to get Activity reference in View class?
body: <p>I created an custom view and there require <strong>Activity reference</strong> to perform some Handler related operation. I have idea about <strong>getContext()</strong> is a way to get Context but is there any way to get Activity reference for same?</p>