marcocesarato / react-native-big-list

This is a high performance list view for React Native with support for complex layouts using a similar FlatList usage to make easy the replacement. This list implementation for big list rendering on React Native works with a recycler focused on performance and memory usage and so it permits processing thousands items on the list.
https://marcocesarato.github.io/react-native-big-list-docs/
Apache License 2.0
525 stars 41 forks source link

Always is empty in tests #364

Open emoreno-94 opened 1 month ago

emoreno-94 commented 1 month ago

I'm trying to do some test cases with this library, but when I debug my view this list are always empty alsa the renderComponent method doesn't execute..... Are they some way to see a not empty list??

<RCTScrollView
    batchSizeThreshold={1}
    collapsable={false}
    contentContainerStyle={
      {
        "maxWidth": "100%",
      }
    }
    contentInset={
      {
        "bottom": 0,
        "left": 0,
        "right": 0,
        "top": 0,
      }
    }
    controlItemRender={false}
    keyboardDismissMode="interactive"
    keyboardShouldPersistTaps="always"
    numColumns={1}
    onLayout={[Function]}
    onMomentumScrollEnd={[Function]}
    onScroll={[Function]}
    onScrollEndDrag={[Function]}
    refreshControl={
      <RefreshControlMock
        colors={
          [
            "#ffc453",
            "#F7931E",
            "#be6500",
          ]
        }
        onRefresh={[Function]}
        refreshing={false}
        tintColor="#43484d"
      />
    }
    removeClippedSubviews={false}
    scrollEventThrottle={16}
    style={
      {
        "flex": 1,
      }
    }
    testID="campaigns-list"
  >
    <RCTRefreshControl />
    <View />
  </RCTScrollView>
</View>