How to get separators position in a recycler view
I have this recycler view that uses a PagingDataAdapter that has separators added by insertSeparators. These separators contain a string with a date such as "13 June". I need to get these separators positions but how can I do that since they are not exactly part of the recycler view? I need to be able to scroll to a separator when a word I have matches the separator's string.
To do the scrolling I'm using the scrollToPosition method but the tricky part is getting the position of the...