dotnet / dotnet/maui

Split/remove new ItemsSource interfaces

Open
#4,457 4 comments 0 reactions 0 assignees View on GitHub
area-controls-collectionview proposal/open s/triaged t/bug t/housekeeping ♻︎
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

The iOS `IItemsViewSource` interface added a new method `GroupItemsViewSource`; technically, this is a breaking change. We can likely work around this by using the existing `Group` method with a cast.

On Android, `IGroupableItemsViewSource` added 3 new methods (`GetGroupAndIndex`, `GetGroup`, and `GetGroupItemsViewSource`). We need to figure out how to get by without these or move them to another interface and case the existing sources as appropriate.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the iOS IItemsViewSource and Android IGroupableItemsViewSource interfaces and their existing consumers. Review how Group, GetGroupAndIndex, GetGroup, and GetGroupItemsViewSource are used, then confirm the interface design preserves compatibility while removing or relocating the new members.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp, ios
Domain
api, mobile
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.