Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiItemRowListAdapter works wrong with more then 1 item type. #8

Open
Lingviston opened this issue Nov 3, 2014 · 3 comments
Open

Comments

@Lingviston
Copy link

I have custom adapter which wrapped by MultiItemRowListAdapter. Is has overrriden getViewTypeCount and getItemViewType methods (I have 2 different layout). After list displayed at first all items displayed correctly but after I scroll it - layout's displayed incorrectly (I have layout-2 for items which must have layout-1 and vice versa).

@Lingviston
Copy link
Author

THis seems to be caused by incorrect implementation of getItemViewType and getViewTYpeCount in MultiItemRowListAdapter. It must NOT return the same values as wrapped adapter.

@Lingviston
Copy link
Author

getView method of MultiItemRowListAdapter also doesn't work fine with several view types. I'll have to fix it somehow.

@aandis
Copy link

aandis commented Apr 17, 2015

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants