title: Expandable GridView with view recycling in Android
body: <p>I am trying to implement a android activity where I have sections of items (for example car brands and their models).</p>
  
  <p>I want to be able to display the items in a grid (e.g. fixed to 3 columns) and each of the grids can be collapsed. Actually I want exactly what the ExpandableList view does for ListViews but with a GridView.</p>
  
  <p>Unfortunately if I return a GridView in the ExpandableListAdapter, the items inside this GridView won't be recycled as they are moving off the screen during scrolling. And we have a lot of items to display which would lead to serious memory issues.</p>
  
  <p>How would I achieve something like that ?</p>
  
  <p>Regards
  Ben</p>
  
  <p><img src="https://i.stack.imgur.com/lX3hQ.png" alt="Example"></p>