我正在使用Before stream : main : 1
Before stream : main : 2
Before stream : main : 3
Before stream : main : 4
After parallel stream : main : 6
After parallel stream : ForkJoinPool.commonPool-worker-23 : 2
After parallel stream : ForkJoinPool.commonPool-worker-5 : 4
After parallel stream : ForkJoinPool.commonPool-worker-19 : 8
For Each : ForkJoinPool.commonPool-worker-19 : 16
For Each : ForkJoinPool.commonPool-worker-5 : 8
For Each : ForkJoinPool.commonPool-worker-23 : 4
For Each : main : 12
创建对象列表(全屏显示)
我启用了垂直滚动(一项表示一个整个屏幕)
如何加快屏幕渲染速度(对象包含照片和视频,因此加载需要一些时间)
我想先加载前两个项目(并将它们显示在屏幕上),然后再加载其他元素。你怎么得到的?