通用 Compose 列表优化

优化和衡量大型列表的性能。


In this Compose file below, I have a LazyColumn or LazyRow displaying a list of items. Optimize its performance for large lists.

Suggest specific optimizations, like item recycling, using remember, derivedStateOf, or optimizing image loading, and provide code examples to implement these changes.

Add logging or other performance metrics to measure the improvement.

$CURRENT_FILE