Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance when switching categories in the MAUI sample viewer #1377

Merged
merged 5 commits into from
Jan 22, 2024

Conversation

duffh
Copy link
Collaborator

@duffh duffh commented Jan 19, 2024

Description

Rewrote the Category page in the MAUI viewer to use CollectionView rather than a nested FlexLayout inside a ScrollView. This was killing performance.

Type of change

  • Sample viewer enhancement

Platforms tested on

  • WPF .NET 8
  • WPF Framework
  • WinUI
  • MAUI WinUI
  • MAUI Android
  • MAUI iOS
  • MAUI MacCatalyst

Checklist

  • Self-review of changes
  • All changes work as expected on all affected platforms
  • There are no warnings related to changes
  • Code is commented and follows .NET conventions and standards
  • Codemaid and XAML styler extensions have been run on every changed file
  • No unrelated changes have been made to any other code or project files

@duffh duffh merged commit ec9eb62 into main Jan 22, 2024
6 checks passed
@duffh duffh deleted the hduff/maui-category-view-performance branch January 22, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants