dotnet / dotnet/maui

Maybe change return of IGroupableItemsViewSource.GetGroupAndIndex to record

Open
#4,456 4 comments 0 reactions 0 assignees View on GitHub
area-controls-collectionview proposal/accepted t/housekeeping ♻︎ Task
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

The `IGroupableItemsViewSource` interface for Android has a method `GetGroupAndIndex(int position)` which returns a tuple. For clarity and performance, this could probably be a record instead.

Contributor guide

Open the contributing guide

Research direction

Start at the Android IGroupableItemsViewSource.GetGroupAndIndex(int position) declaration, then inspect its implementations and callers to determine the required record shape and compatibility impact. Done means the return type is consistently updated and the relevant Android tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile-dev
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.