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.