title: RecyclerView different itemDecoration for different items
body: <p>I am using the <code>RecyclerView</code> in my application and for the needs of my design, I need to have different margins between the items in my list (For example: the space between the first two items to be 16dp, the space between the second and the third item 32dp etc.). I read that you can add item decoration to the <code>RecyclerView</code> and create that space between the items. But this thing adds the same margin between all the items, and I want different behavior for different items. My questions is, can this be done using the item decoration? And how is this approach better than changing the margin of the item (view) in for example, the <code>onBindViewHolder</code> method in the <code>RecyclerView.Adapter</code>. Thank you in advance!</p>