exallium/RxRecyclerView

Different view types (in the same group) are not supported

maadani opened this issue · 1 comments

According to the docs (and code), to support view types, one should extends the EventElement class.
However, when using the ElementGenerationOperator, it calls directly the EventElement constructor.

The way to work around it is to map the regular EventElement from the Observable to my own EventElement class and use the same event & group comparator and override the getViewType method. This is not a clean workaround as you need to pass the comparator twice.

Hello,

Given the age of this project and the support for RxJava1, this project in its current state will be deprecated. A new version might be released as time is available for such an endeavour.

Please feel free though to create a pull request with a fix for this issue. That said, I'll likely start from scratch if I do a new version based on RxJava2

Thanks
Alex.