title: how to call button on clickListner outside the custom adapter of listview.
body: <p>I have a <code>Button</code> on <code>Listview</code> and a custom adapter that loads the <code>ListView</code>. I want to call the <code>Button</code> <code>onClickListner</code> in main class not in the adapter class. how can i do this.</p>