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

native: dynamic collection components #4112

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

davidisaaclee
Copy link
Contributor

@davidisaaclee davidisaaclee commented Oct 24, 2024

We already have the API functionality to set a channel's collection layout at creation time, but we didn't have an ergonomic way to add new collection layouts to the app. This PR pulls out a component responsible purely for laying out posts in a collection, so that we can quickly add new collection layouts.

f27d449 adds an example new layout, which displays one post at a time; tapping on the left goes back one post, tapping on the right goes forward. (Loading more posts is not implemented but possible.)

@davidisaaclee davidisaaclee force-pushed the dil/dynamic-collection-components branch from f27d449 to fe169f3 Compare October 24, 2024 16:48
@davidisaaclee davidisaaclee force-pushed the dil/dynamic-collection-components branch from fe169f3 to 1082c9e Compare October 24, 2024 16:58
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