Divide elements on groups in RecyclerView : <p>I need to divide elements in RecyclerView on groups with titles (like in the Inbox app on the picture below) so help me please to figure out what approach would be better for my case:
1) I can use Heterogenous layouts for it but it is not so convenient to insert new elements in groups (because I need check if elements of the same group is already added or I need to add new divider). So in this case I'll wrap all operations with such data structure into a separate class.</p>

<p>2) Theoretically I can wrap each group in its own RecyclerView with label is it a good idea?</p>

<p><a href="https://i.stack.imgur.com/XlxLu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XlxLu.png" alt="Inbox app"></a></p>
