I would like to have a few similar expandable listviews in my android application across a few activities. They all have the same content, but use different designs. Some have buttons for example, and some not.
I would even want to have three expandable listviews that share everything except the background color for each cell.
Anyways, having a unique adapter for each listview seems like a bad design practice as they all very similar. I was thinking of making an abstract adapter and than extending it for every listview, would that work? Is there any other approach?
Thank you.