dotnet / dotnet/docs-maui

ListView is used in the example while being obsolete

Open
#3,494 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

### Type of issue

Outdated article

### Description

Starting from .NET 10 and onwards, `ListView` has been marked as `Obsolete`.
In this example it is still used to show how bindings work with collections.
All the examples on this page regarding `ListView` should be updated to the improved `CollectionView`.

Old:
```xml

```
Updated:
```xml

```
This is just a small example.
All types of `Cell` are also marked as obsolete and should be removed.
As well as the `events` a `ListView` triggers should be looked at to make sure the `CollectionView` uses the same or a different one.

### Page URL

https://learn.microsoft.com/nl-nl/dotnet/maui/xaml/fundamentals/data-binding-basics?view=net-maui-10.0

### Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/xaml/fundamentals/data-binding-basics.md

### Document Version Independent Id

L25sLW5sL2RvdG5ldC9tYXVpL3hhbWwvZnVuZGFtZW50YWxzL2RhdGEtYmluZGluZy1iYXNpY3M=

### Platform Id

db98718a-c4ed-71ff-16e8-19017ee8230e

### Article author

@davidortinau

### Metadata

* ID: L25sLW5sL2RvdG5ldC9tYXVpL3hhbWwvZnVuZGFtZW50YWxzL2RhdGEtYmluZGluZy1iYXNpY3M=
* PlatformId: db98718a-c4ed-71ff-16e8-19017ee8230e
* Service: **dotnet-mobile-development**
* Sub-service: **dotnet-maui**

Contributor guide

Open the contributing guide

Research direction

Read docs/xaml/fundamentals/data-binding-basics.md and review every ListView, Cell, and related event example. Replace the obsolete collection examples with CollectionView guidance, checking which events apply, and confirm the article contains no remaining obsolete ListView or Cell usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.