关于本机基础列表组件的意见

时间:2018-04-26 16:49:50

标签: react-native react-native-android native-base

我想知道<List>组件是否由native-base提供 样式库可以替代<ListView>组件。 我知道react-native的传统listview是性能高效的 所以本机库的List组件也是性能高效的。

2 个答案:

答案 0 :(得分:0)

NativeBases List component is actually just a wrapper over React Native's ListView with some extra goodies included, so efficiency in terms of cell reuse, etc should be good.

See the source for List.

答案 1 :(得分:0)

检查NativeBase文档https://docs.nativebase.io/Components.html#list-def-headref

它说,不推荐使用List