Adding List seperators in an existing list
<p>Been playing around with Android and using various resources have come up with this list:</p>

<pre><code>public class TestingList extends ListActivity {

    private static final String ICON_KEY = "icon";
    private static final String TITLE_KEY = "title";
    private static final String DETAIL_KEY = "detail";

    private static final int[] ICONS = new int[] { R.drawable.lista,
                    R.drawable.listb, R.drawable.listc, R.drawable.listd };
    private static final String[] TITLES = new String[] { "List 1", "List 2",
                    "List 3", "List 4" };
    private static final String[] DETAILS = new String[] {
                    "List 1 description, a little more text here please, just testing how it reacts to more.",
                    "List 2 description, a little more text here please, just testing how it reacts to more.",
                    "List 3 description, a little more text here please, just testing how it reacts to more.",
                    "List 4 description, a little more text here please, just testing how it reacts to more." };

    @Override
    public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            List&lt;Map&lt;String, Object&gt;&gt; rows = new ArrayList&lt;Map&lt;String, Object&gt;&gt;();
            for (int i = 0; i &lt; ICONS.length; i++) {
                    rows.add(createListItemMap(ICONS[i], TITLES[i],
                                    DETAILS[i]));
            }

            // set up SimpleAdapter for icon_detail_list_item
            String[] fromKeys = new String[] { ICON_KEY, TITLE_KEY, DETAIL_KEY };
            int[] toIds = new int[] { R.id.icon, R.id.text1, R.id.text2 };
            setListAdapter(new SimpleAdapter(this, rows,
                            R.layout.icon_detail_list_item, fromKeys, toIds));




    }
</code></pre>

<p>I'd like to some how add list seperators to this list, what would the best way to get that done. The final list will have alot more items, but I'd like named seperators at certain points.</p>

<p>Thanks.</p>
