Skip to content

Fixed the Exception java.lang.IllegalStateException: Cannot start this animator on a detached view!#209

Open
T1mmyK0 wants to merge 6 commits intodeano2390:masterfrom
T1mmyK0:master
Open

Fixed the Exception java.lang.IllegalStateException: Cannot start this animator on a detached view!#209
T1mmyK0 wants to merge 6 commits intodeano2390:masterfrom
T1mmyK0:master

Conversation

@T1mmyK0
Copy link

@T1mmyK0 T1mmyK0 commented Jan 28, 2026

The previous fix #172 only works for fadeIn(), but not animateOut().
Apps were still crashing. Fixed it now.
(Don't judge me for using Codex. It was much faster and the result speaks for itself.)

@T1mmyK0
Copy link
Author

T1mmyK0 commented Jan 30, 2026

Oh, I accidentally also added my other fix.
There was a problem with ScrollViews: If you set a delay, the position of the highlighted element is measured before the delay. When scrolling within the delay, the highlighted position is wrong. Now the position is updated after the delay as well.
This is only a minor fix, because you should just lock the ScrollView while using the showcase.

…materialshowcaseview

Guard animateOut when animation factory or target is missing
@T1mmyK0
Copy link
Author

T1mmyK0 commented Feb 1, 2026

Fixed another crash

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