Hi, I've found a bunch of these infinite scroll views but they only seem to give examples for ListView.
I am using KeyboardAwareScrollView or 'native-base' "Content" which is pretty much the same component. I would even consider using scroll view, but I'm pretty sure that listview will not work for what I'm trying to do.
How exactly can I apply the InfiniteScrollView to this? The documentation is not very complete and does not even list the props you can use or examples for anything outside of ListView. Is it possible to use Infinite with anything other than ListView? I've tried implementing this with my current setup and it does not seem to work!
My issue is that it seems to continuously keep loading content no matter where I am on the page, which ends up messing things up a lot!
Basically all I am trying to do is to have it load additional content once so far on the right, and load more content each time the user gets to the end. For whatever reason, it keeps loading more and more data continuously without stopping regardless of wherever I am on the page, no matter if I use this InfiniteScrollView component or if I try to build my own!
Thanks, I have it working now. Refresh control was bugging it out since it only works vertically. I wish there were a way to get a horizontal refresh control, but at least this works for now. :) Thanks
Hi, I've found a bunch of these infinite scroll views but they only seem to give examples for ListView.
I am using KeyboardAwareScrollView or 'native-base' "Content" which is pretty much the same component. I would even consider using scroll view, but I'm pretty sure that listview will not work for what I'm trying to do.
load function which dispatches to redux to get data from next page.
render control function
inside of the content component is
How exactly can I apply the InfiniteScrollView to this? The documentation is not very complete and does not even list the props you can use or examples for anything outside of ListView. Is it possible to use Infinite with anything other than ListView? I've tried implementing this with my current setup and it does not seem to work!
My issue is that it seems to continuously keep loading content no matter where I am on the page, which ends up messing things up a lot!
Basically all I am trying to do is to have it load additional content once so far on the right, and load more content each time the user gets to the end. For whatever reason, it keeps loading more and more data continuously without stopping regardless of wherever I am on the page, no matter if I use this InfiniteScrollView component or if I try to build my own!