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

Bugfix - Render LottieAnimationView in edit mode #42

Merged
merged 2 commits into from Feb 2, 2017
Merged

Bugfix - Render LottieAnimationView in edit mode #42

merged 2 commits into from Feb 2, 2017

Conversation

ghost
Copy link

@ghost ghost commented Feb 2, 2017

Description:

Currently LottieAnimationView can't be rendered in edit mode which is unfortunate because it prevents the layout from being shown in the layout preview without error.
This pull request changes the init() method of the LottieAnimationView so the animation is only set if the view is not in edit mode (e.g. layout preview).

Robert Berghegger added 2 commits February 2, 2017 18:07
… is only set if the view is not in edit mode (e.g. layout preview).
@gpeal gpeal merged commit d74aab3 into airbnb:master Feb 2, 2017
@wlj190785060 wlj190785060 mentioned this pull request Nov 22, 2021
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