title: android: create click listener programmatically with anonymous class
body: <p>I see a few examples of making a TextView clickable by setting <code>onClick=&quot;clickHandler&quot;</code> and <code>clickable=&quot;true&quot;</code>.  Is there a way to use an anonymous class instead of hard coding a <code>clickhandler</code> method inside the activity.</p>