title: How to add multiple headings in SimpleAdapter List
body: <p>I am using <code>SAXparser</code> to fetch data from various feed and then adding it in a single List using <code>SimpleListAdapter</code>,</p>
  
  <p>I am using the following code to add the RSS Feed into my <code>SimpleListAdapter</code> and updating it for every new Feed,</p>
  
  <pre><code>            SimpleAdapter sAdapter = null;
  
              String[] keys = { Feeds.TITLES, Feeds.KEY };
              int[] ids = { android.R.id.text1, android.R.id.text2 };
  
              if (sAdapter == null) {
                  sAdapter = new SimpleAdapter(Main.this, fetchedData,
                          android.R.layout.simple_list_item_2, keys, ids);
                  setListAdapter(sAdapter);
              }
  </code></pre>
  
  <p>This updates the Adapter for the next feed instead of re-creating the adapter.</p>
  
  <pre><code>            else 
                  sAdapter.notifyDataSetChanged();
  </code></pre>
  
  <p>The problem with the code is, there is no way to know when the new feed is started since all the data is in one list and I want to add heading before first feed and when each feed is ended.</p>
  
  <p>Is there anyway that I can add headings after every RSS Feed in the list ?</p>
  
  <p>This is what I am getting rightnow,</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>This is what I want,</p>
  
  <p><strong>Heading 1</strong></p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p>Feed Data from Feed 1</p>
  
  <p><strong>Heading 2</strong></p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p>Feed Data from Feed 2</p>
  
  <p><strong>Heading 3</strong></p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>
  
  <p>Feed Data from Feed 3</p>