Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides building, reviewing, and migrating .NET MAUI apps across Android, iOS, macOS, and Windows, including Xamarin.Forms migration.
95% 100%+5 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
After updating a .NET MAUI project to version 10.0.90, what specific CollectionView features should be smoke-tested for stability based on recent updates?
Recommends regression testing grouped CollectionView behavior after upgrading to 10.0.90.
3 of 3 safety checks passed
// BAD: Navigation logic in code-behind
public partial class ProductsPage : ContentPage
{
private async void OnProductTapped(object sender, EventArgs e)
{
var product = (sender as View).BindingContext as Product;
await Navigation.PushAsync(new ProductDetailPage(product)); // Direct coupling
}
}
// GOOD: Navigation through ViewModel with service
public partial class ProductsViewModel : ObservableObject
{
private readonly INavigationService _navigation;
[RelayCommand]
private async Task SelectProduct(Product product)
{
await _navigation.NavigateToAsync<ProductDetailViewModel>(product.Id);
}
}
// BAD: Magic strings scattered across codebase
await Shell.Current.GoToAsync("ProductDetailPage?id=123");
await Shell.Current.GoToAsync("productdetail?id=123"); // Inconsistent casing
await Shell.Current.GoToAsync("product-detail?id=123"); // Different format
// GOOD: Centralized route constants
public static class Routes
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.