title: How to display a list of items inside a listview
body: <p>I am working on a UI which looks like below image
  <a href="https://i.stack.imgur.com/ZOsxv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZOsxv.jpg" alt="Listview with subitem"></a>
  The approach I'm using right now is by creating a Listview that have another listview inside it to display the sub-items. 
  I've read somewhere else that putting a listview inside a listview is a bad practice which could cause a major UI bug. The bug I'm experiencing right now is when the sub List Item is updated, my main outer ListView's height is not updating. For example if I delete one of my sub List item, my outer ListView will show some extra white-space at the end of it.
  One of the solution that came to me is by using LinearLayout to display the subListItem but then how can I filter those LinearLayout? Any recommendation is appreciated. Thanks!!</p>