I have a RecyclerView. In some cases I need to connect two items vertically to show the connection between them like in the image below:
The only thing I'm thinking about is to create another ViewHolder which will look like it was connected but this option will limit me in case I will need to connect three or more items and will have to create a ViewHolder for each case.
Maybe someone has a better idea of how to achieve this goal?
Thanks.
