Skip to content
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

Illegal argument exception in scaleX #55

Open
cernfr1993 opened this issue Jan 24, 2019 · 0 comments
Open

Illegal argument exception in scaleX #55

cernfr1993 opened this issue Jan 24, 2019 · 0 comments

Comments

@cernfr1993
Copy link

cernfr1993 commented Jan 24, 2019

After updating android support libraries to AndroidX library crashes when starting SlidingActivity. Library crashes in MultiShrinkScroller class when passing NaN to scaleX method.
Please consider updating a library to prevent apps using your library from crashing. I try fx below and app is working just fine with this change.
try { largeTextView.setScaleX(scale); largeTextView.setScaleY(scale); } catch (IllegalArgumentException ignored) {}
Thanks.

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

No branches or pull requests

1 participant