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

Add support for setting the Padding via resource or directly in dp #528

Merged
merged 2 commits into from
Sep 6, 2018

Conversation

pwillmann
Copy link
Contributor

fixes #514

Copy link
Contributor

@elihart elihart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks a lot, this is a nice approach

this.leftPx = leftPx;
this.rightPx = rightPx;
this.itemSpacingPx = itemSpacingPx;
public Padding(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to expose this constructor since all types can be set directly already, and having this additional way to do it might be confusing

Make constructor private
@elihart elihart merged commit 82d4161 into airbnb:master Sep 6, 2018
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.

Support for setting the item spacing of a carousel
2 participants