How to increase the ListView performance?

Technology CommunityCategory: XamarinHow to increase the ListView performance?
VietMX Staff asked 3 years ago
  • Do not put ListView inside ScrollView because ListView has its own Scrollview.
  • Try to use built-in cells like TextCellEntryCellImageCellSwitchCell instead of creating custom ViewCell whenever possible.
  • Reduce the usage of Cell.ForceUpdateSize method. It will degrade the performance.
  • Avoid changing the cell layout based on BindingContext.
  • Avoid deeply nested layouts. Use AbsoluteLayout or Grid.
  • Avoid Specific LayoutOptions other than Fill.
  • If your cell contains complex UI, then use custom renderers.