title: Android, How to split ListView items into three parts?
body: <p>In my activity, i have three lists and each list has three items. After testing this way (please see: <a href="https://stackoverflow.com/questions/10496804/android-how-to-add-scrollview-into-screen-which-has-some-list-items/10497011#10497011">Android, How to add ScrollView into screen which has some list items?</a>), i found that its impossible to scroll screen while you have some lists in an activity. Also, I found this answer (<a href="https://stackoverflow.com/questions/6404413/add-multiple-listview-in-one-activity?answertab=votes#tab-top">add multiple listview in one activity</a>) which divided the screen into three segments therefore, i didn't have enough space to show all items and screen was not scrollable as well. </p>
  
  <p>one silly solution is to create xml for each item and put it in xml layout of activity. Although it works but i have to copy/paste so many lines of code.</p>
  
  <p>Better way is using adapter, so, in my next try, i can add the result of two other lists into my first list and then send the result to adapter class. Therefore, adapter will show all items in the list. Although, it solves my problem abut scrolling of screen (at this time scroll of screen = scroll of list), but I need to have header at top of each three items.</p>
  
  <p>Is it possible to tell adapter to add for example header.xml, after each three items of list? </p>
  
  <p>Hope to explain clearly! Thanks</p>