Custom ListView
Custom Listview
Datasource
List of items
Container
Scroll View
Use a scrollview instead of a flatlist. Flatlist functions will not work.
On click
Action to perform when listview item is pressed.
Empty message
Message to show when list is empty.
Scroll to item
Attribute boolean to activate automatic scroll. Scroll item must also be filled!
Scroll item
Contains the index for where to scroll when scroll to item is set to true.
Window size
The number passed here is a measurement unit where 1 is equivalent to your viewport height.
Initial nr. of items
Set initial number of items to render when component mounts.
Max. render per batch
Set number of items to render while scrolling.
Batching delay
Set delay in milliseconds between batch renders.
Remove clipped subviews
Unmounts components that are outside the window.
Use getItemLayout
Use flatlist getItemLayout for scrolling performance. Needs a fixed item height, which can be altered below.
Item height
Set item height.