title: Two section for listview android
body: <p>I have a sectioned <code>listview</code> with dynamic data. I wanted to section as 1st part and 2nd part.</p>
  
  <p>I have 2 adapter class , 1 Listview</p>
  
  <p>I wanted 2 adapter class to merge with Section (Header)</p>
  
  <pre><code>summaryOrderAdapter = new SummaryOrderAdapter(getActivity(), summaryOrderListData);
  summaryNinjaAdapter = new SummaryNinjaAdapter(getActivity(), summaryNinjaListData);
  
  summaryListView.addView(headerView);
  summaryListView.setAdapter(summaryOrderAdapter);
  
  summaryListView.addView(headerView_);
  summaryListView.setAdapter(summaryNinjaAdapter);
  </code></pre>
  
  <blockquote>
    <p>Getting Error : java.lang.UnsupportedOperationException: addView(View) is not supported in AdapterView</p>
  </blockquote>