[Bug] Wrong Layout and Behaviors using Grouped CollectionView on Android
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
Wrong Layout and Behaviors using Grouped CollectionView on Android.
Using MeasureAllItems:

Using MeasureFirstItem:

Using grouped CollectionView cannot scroll on Android.
### Steps to Reproduce
1. Download
[collectionview-issue.zip](https://github.com/dotnet/maui/files/7313156/collectionview-issue.zip)
2. Launch the sample in Android emulator or device.
3. Navigate to the grouped CollectionView sample using a DataTemplate.
### Expected Behavior
Render a correct layout and can scroll.
### Actual Behavior
Cannot scroll and also the layout is wrong.
Contributor guide
Research direction
Start by downloading collectionview-issue.zip and running its grouped CollectionView sample on an Android emulator or device, comparing MeasureAllItems and MeasureFirstItem. Trace the sample's DataTemplate and grouped CollectionView behavior; done means the layout renders correctly and the collection scrolls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100