title: RecyclerView add divider lines only between some items
body: <p>I want to add divider lines in my <code>RecyclerView</code> <code>Layout</code>. I already searched some time, but I can only find solutions that utilise <code>RecyclerView.addItemDecoration</code>, which adds the divider between all items. I could create a layout that has a single line and add that to the <code>RecyclerView</code>, but that doesn't seem like an elegant solution to me.</p>