Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Fix Header size recalculation (activity.recreate, ...)#10

Open
stmon wants to merge 1 commit intoshuhart:masterfrom
stmon:master
Open

Fix Header size recalculation (activity.recreate, ...)#10
stmon wants to merge 1 commit intoshuhart:masterfrom
stmon:master

Conversation

@stmon
Copy link

@stmon stmon commented Dec 22, 2019

In certain circumstances Sticky Header size is recalculated when not visible. Usually Header width becomes 0 when this happens and Header disappear.
Replacing OnGlobalLayoutListener with OnLayoutChangeListener fixes the problem.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant