当前位置: 代码迷 >> 综合 >> FlatList滑动时候闪屏
  详细解决方案

FlatList滑动时候闪屏

热度:28   发布时间:2024-02-08 00:10:37.0

因为flatlist的item使用了图片,但item太多的时候,快速滑动列表,在部分性能较低的手机里面会发生闪屏现象。

解决方法: 使用react-native-fast-image 代替Image 和ImageBackground 

  相关解决方案