react-native-lazyload
react-native-lazyload copied to clipboard
In LazyloadListView renderScrollComponent props It doesn't work。
在LazyloadListView组件中renderScrollComponent属性使用不了。求教怎么回事?也不报错 Hope to have a solution Thank you!
Same issue facing. Anyone working on it? @sundayha what solution works for you?
@magicismight ?
@magicismight we need your help. at least you can guide me what i do to achieve this functionality.
Sorry I didn't reply this in time, I'm a little busy with my work those days. You can implement this prop on this line: https://github.com/magicismight/react-native-lazyload/blob/master/lib/LazyloadListView.js#L41
But make sure the renderScrollComponent prop returns a <LazyloadScrollView />.
It would be great if you can send me a PR after you have fixed this.
i need to use this props into the application but i am confused how can i use both in renderScrollComponent https://github.com/jaysoo/react-native-parallax-scroll-view/blob/master/examples/ListView/Talks.js#L53
Anything you can tell on this?
I have LazyloadScrollView as well as ParallaxScrollView. this is causing problem :(
Since LazyloadScrollView and ParallaxScrollView are both based on ScrollView.
You cannot use them at the same time, unless you rewrite a component which is based on LazyloadScrollView or ParallaxScrollView.
orveride the render method and return a ParallaxScrollView instead of a ScrollView. https://github.com/magicismight/react-native-lazyload/blob/master/lib/LazyloadScrollView.js#L100-L112
Thanks @magicismight it works! appreciate it :)