Need to get one by one column value from getadapter in Listview in Android
<p>I have filled the listview using the code given below, but I'm unablee to get back the values from list because getadpter written an object. From the object I didnt able to get one by one column value.</p>

<p>Code for filling the listview:</p>

<pre><code>String pkManifest = manifest.pkManifestNo;
        ArrayList&lt;HashMap&lt;String, String&gt;&gt; alist = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
        HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
        manifest_helper = new manifest_helper(this);

    cursor = manifest_helper.GetDeliveriesAgainstManifest(pkManifest);
    cursor.moveToFirst();

    for (int i = 0; i &lt; cursor.getCount(); i++) {

        map = new HashMap&lt;String, String&gt;();
        map.put("Deliv_Address",
                cursor.getString(cursor.getColumnIndex("Address")));
        map.put("Deliv_Time",
                cursor.getString(cursor.getColumnIndex("Time")));
        map.put("Deliv_Order",
                cursor.getString(cursor.getColumnIndex("DeliveryOrder")));
        map.put("Deliv_IsCustomerPickup",
                cursor.getString(cursor.getColumnIndex("IsCustomerPickup")));
        map.put("Deliv_FKDeliveryStatus",
                cursor.getString(cursor.getColumnIndex("FKDeliveryStatus")));
        map.put("Deliv_PKDelivery",
                cursor.getString(cursor.getColumnIndex("PKDelivery")));
        alist.add(map);
        cursor.moveToNext();
    }
    sd = new SimpleAdapter(this, alist, R.layout.deliveries_list_row,
            new String[] { "Deliv_Address", "Deliv_Time",
                    "Deliv_Order", "Deliv_IsCustomerPickup",
                    "Deliv_FKDeliveryStatus", "Deliv_PKDelivery" },
            new int[] { R.id.tv_Deliv_Address, R.id.tv_Deliv_Time,
                    R.id.tv_Deliv_Order,
                    R.id.tv_Deliv_IsCustomerPickup,
                    R.id.tv_Deliv_FKDeliveryStatus,
                    R.id.tv_Deliv_PKDelivery });
    //selectedAdapter = new SelectedAdapter(this, 0, alist);
    //selectedAdapter.setNotifyOnChange(true);

    ListDeliveries.setAdapter(sd);
</code></pre>

<p>Code for getting the value on onItemSelected is written like this:</p>

<pre><code>private OnItemSelectedListener mDeviceSelectedListener = new OnItemSelectedListener() {
    public void onItemSelected(AdapterView&lt;?&gt; av, View v, int arg2,long arg3) {
    Object o = av.getAdapter().getItem(arg2);
        String keyword = o.toString();
    MessageBox("You selected: " + keyword);         
}
</code></pre>
