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

Example with dynamic content #2

Open
wouterds opened this issue Aug 10, 2018 · 4 comments
Open

Example with dynamic content #2

wouterds opened this issue Aug 10, 2018 · 4 comments

Comments

@wouterds
Copy link

I'll look into an example with a refresh control to load more content, reason being I've been trying to achieve the same thing for the past few days but was unable to.

@bogoslavskiy
Copy link
Owner

@wouterds
Here is an example
https://gist.github.com/bogoslavskiy/2acb5a7ec62a3c5d969aeac3ea2d6e4b

Unfortunately, native refresh control does not work. This problem is due to padding in flatlist contentContainerStyle
It will be necessary to use custom refresh control.

@wouterds
Copy link
Author

wouterds commented Aug 11, 2018 via email

@bogoslavskiy
Copy link
Owner

@wouterds
There was such issue
facebook/react-native#10718
It was not closed :(

@dmitryshelomanov
Copy link

@wouterds use refresh control on flat list

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

3 participants