react-native-alphabetlistview icon indicating copy to clipboard operation
react-native-alphabetlistview copied to clipboard

scroll too low when data > 1000 on Android

Open vivianking6855 opened this issue 8 years ago • 11 comments

scroll too low when data > 1000 on Android, if there any optimization for this critical issue.

vivianking6855 avatar Jun 30 '16 09:06 vivianking6855

@vivianking6855 if you set the initialListSize prop to the total number of rows for your list, it will render the entire list at once.

joshbuchea avatar Jun 30 '16 14:06 joshbuchea

yes, it works well when initialListSize<100, otherwise there will be more than 2s for UI loading

vivianking6855 avatar Jul 01 '16 02:07 vivianking6855

@vivianking6855 yes, I'm seeing similar performance with a large data set (~ 750 items).

joshbuchea avatar Jul 01 '16 23:07 joshbuchea

I got SG Lsit view onanother source: https://github.com/sghiassy/react-native-sglistview I may help us to optimize ListView performance

vivianking6855 avatar Sep 30 '16 06:09 vivianking6855

You can checkout my implementation here which handles larger lists https://github.com/rgovindji/react-native-atoz-list

This uses the code from https://github.com/brentvatne/fixed-height-windowed-list-view-experiment but just packaged up a little more user friendly. I'll try to clean it up more and add it to npm in a few days.

rgovindji avatar Oct 12 '16 04:10 rgovindji

@rgovindji your solution has many bugs, and is not stable with the latest RN release

niftylettuce avatar Feb 13 '17 08:02 niftylettuce

also yes, this is extremely slow with even 500+ contacts

niftylettuce avatar Feb 13 '17 08:02 niftylettuce

I still have this issue. I have around 3500+ data. All the data are not loaded at once which is causing me issue to quickly jump to the data at last. It works fine for some data starting with A. Please help

roshangm1 avatar Mar 20 '17 12:03 roshangm1

FlatList could solve this problems

sibelius avatar Mar 20 '17 12:03 sibelius

@sibelius this actually works with normal listview. Maybe, listview is implemented in such a way with this library ? Noob here.

roshangm1 avatar Mar 20 '17 12:03 roshangm1

Is there any updates about this performance issue? I tried to set initialListSize (I'm using a fixed list of 300 elements) and this makes application to take time to respond to any touch events....it's like it's processing the elements, and then the list works perfectly...but the downside is the time it takes for the application to responde at start time...any ideas how to overcome this issue? thanks!

germanurrus avatar Sep 24 '17 20:09 germanurrus