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

Adapter update clears the header view at 0th position as well when updating #393

Open
wishygupta opened this issue Jun 6, 2021 · 0 comments
Labels

Comments

@wishygupta
Copy link

wishygupta commented Jun 6, 2021

I have horizontal recyclerview which is placed at 0th position of the adapter - lets call this as story group
I crated a bindableitem class which holds horizontal recyclerview

Next I have group of items which comes below the comes below it. - lets call this as post group
On click of any element of horizontal recycler view I am updating the adapter giving a new list of post group using groupAdapter.update(postsGroup)
After the update happens the story group recyclerview gets removed.
How can I not make it remove or do I have to place it in something else?

@wishygupta wishygupta changed the title Adapter update clears the header group as well when updating Adapter update clears the header view at 0th position as well when updating Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant