how to terminate AlertDialog.Builder having ListView once the item is clicked and new alert dialogue is created
<p>I am facing a very strange problem. when I try to launch and alert dialogue when an item is clicked from the ListView. The ListView is still there in the background and launched alert dialogue comes over the ListView. once i click ok/cancel the ListView comes agin in the foreground.
I would like that once the OK/Cancel is clicked from the alert dialogue, both L istView and alertdailogue gets disaappeared.</p>

<pre><code>builder.setView(listview);
 listview.SetOnItemClickListener(new onItemClickListener{

public void onItemClick(AdapterView&lt;?&gt; parent, View view,int position, long id){

showsomedialogue();}

 });
</code></pre>

<p>thanks any help will be appreciated.</p>
