Skip to content

Conversation

@wuliao518
Copy link

if (pinnedHeaderHeight >= headerTop && headerTop > 0) {
mHeaderOffset = headerTop - header.getHeight();
} else if (headerTop < 0) {
header.setVisibility(INVISIBLE);
}
In the meizu mx 3, headerTop can greater than pinnedHeaderHeight when firstVisibleItem equals 0.So the header can strike twice.

if (pinnedHeaderHeight >= headerTop && headerTop > 0) {
                    mHeaderOffset = headerTop - header.getHeight();
} else if (headerTop < 0) {
                    header.setVisibility(INVISIBLE);
}
In the meizu mx 3, headerTop can  greater than pinnedHeaderHeight when firstVisibleItem equals 0.So the header can strike twice.
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

Successfully merging this pull request may close these issues.

1 participant