ribot / easy-adapter

[DEPRECATED] Easy Adapters library for Android
http://ribot.github.io
Apache License 2.0
421 stars 50 forks source link

Multiple ItemViewTypes possible? #35

Open MFlisar opened 9 years ago

MFlisar commented 9 years ago

Is that currently possible somehow? Are you planning to support that?

ivacf commented 9 years ago

Hi, mutiple item view types are not supported. I don't think this is a big priority at the moment. Most of the time we only need one view type. If multiple ones are needed, it can be implemented fairly easily by using RecycleView.Adapter directly.

If more people think this feature would be useful, we can think about how this can be supported without increasing the complexity of the library.

vjames19 commented 8 years ago

Hi @ivacf, I think this would be a useful feature and it is the only one backing me out from using this library. I currently use multiple view types in some of my feeds and would like to work with you on adding this to the library. What do you think?

MFlisar commented 8 years ago

Another good thing about this: this allows to use sections with EasyAdapter as well... You have to manually add them, but at least it's easily possible then...