Android: how to create Switch case from this?
<pre><code>public void onItemClick(AdapterView&lt;?&gt; a, View v, int position, long id) {
    AlertDialog.Builder adb = new AlertDialog.Builder(CategoriesTab.this);

    adb.setTitle("Selected Category");
    adb.setMessage("Selected Item is = "+lv1.getItemAtPosition(position));
    adb.setPositiveButton("Ok", null);
    adb.show();
}
</code></pre>

<p>This at the moment displays an alertbox when an item from listview is clicked.  I want to convert the alertbox to load a specific xml for each choices clicked.  How can i do this?
thanks for your help.</p>
