Skip to content

[iOS] CollectionView2 - empty view - improvements2#29154

Closed
kubaflo wants to merge 1 commit intodotnet:mainfrom
kubaflo:cv2-empty-view
Closed

[iOS] CollectionView2 - empty view - improvements2#29154
kubaflo wants to merge 1 commit intodotnet:mainfrom
kubaflo:cv2-empty-view

Conversation

@kubaflo
Copy link
Copy Markdown
Contributor

@kubaflo kubaflo commented Apr 23, 2025

Issues Fixed

Fixes #28118

Before After
Screen.Recording.2025-03-01.at.16.06.17.mov
Screen.Recording.2025-03-01.at.16.04.15.mov

CC @albyrock87 @rmarinho

@kubaflo kubaflo changed the title [iOS] CollectionView2 - empty view - improvements [iOS] CollectionView2 - empty view - improvements2 Apr 23, 2025
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Apr 23, 2025
@kubaflo kubaflo self-assigned this Apr 23, 2025
emptyViewCell.PlatformHandler = null;

//Wrapping empty view in a container to enable vertical and horizontal alignment
var emptyView = ItemsView?.EmptyView as View;
Copy link
Copy Markdown
Contributor

@pictos pictos Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be null? If don't we can remove the ? if yes we should check for null in order to avoid a NRE

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can be null

@kubaflo kubaflo requested a review from rmarinho April 24, 2025 00:56
@kubaflo kubaflo force-pushed the cv2-empty-view branch 2 times, most recently from 360441a to 5743d65 Compare May 8, 2025 22:28
@kubaflo kubaflo marked this pull request as ready for review May 8, 2025 22:29
@kubaflo kubaflo requested a review from a team as a code owner May 8, 2025 22:29
@kubaflo kubaflo requested a review from PureWeen May 8, 2025 22:29
@kubaflo
Copy link
Copy Markdown
Contributor Author

kubaflo commented Mar 5, 2026

Closed in favour of #31215

@kubaflo kubaflo closed this Mar 5, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Apr 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS] CollectionView2 - empty view issues

2 participants