title: How to finish an activity from an Adapter..?
body: <p>I tried with passing <code>context</code> of activity into the adapter and then i tried <code>context.finish();</code> But its giving me one error like <code>The method finish() is undefined for the type Context</code></p>