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

Position Changing Between List Item #22

Closed
huteri opened this Issue Apr 14, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@huteri

huteri commented Apr 14, 2015

Hi, I have problem implementing expandable list with fixed recyclerview. Please see the video https://www.youtube.com/watch?v=fkcmtkZz3zo

The way I do it is to resize recyclerview and recalculate the height based on how much item is expanded.
Do you think it's possible to fix this issue?

@h6ah4i

This comment has been minimized.

Owner

h6ah4i commented Apr 14, 2015

Hi. Have you implemented the getGroupId() and getChildId() methods properly that return stable IDs?

@huteri

This comment has been minimized.

huteri commented Apr 15, 2015

Ah thanks, it's because I set the ids with random number.

@huteri huteri closed this Apr 15, 2015

@h6ah4i

This comment has been minimized.

Owner

h6ah4i commented Apr 15, 2015

🍺

@vevo-kevin-kawai

This comment has been minimized.

vevo-kevin-kawai commented May 25, 2016

This worked great! I implemented adapter.getItemId(position) incorrectly because I was adding the position value to my otherwise stable unique item ID. Using the position made it unstable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment