dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

[Android] CollectionView EmptyView using a View or Template is not rendering #22191

Open jsuarezruiz opened 4 months ago

jsuarezruiz commented 4 months ago

Description

CollectionView EmptyView using a View or Template is not rendering on Android. emptyview-view-notworking

Steps to Reproduce

  1. Sync or download https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Views/CollectionViewDemos
  2. Lunch the App on Android.
  3. Navigate to the sample EmptyView with multiple views or EmptyView with EmptyViewTemplate.
  4. Write something long in the filter to force the EmptyView to appear.
  5. Is not appearing.

Link to public reproduction project repository

https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Views/CollectionViewDemos

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 14

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 4 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

peruchali commented 1 month ago

Is there an update on this? This is the basic functionality of the CollectionView. CollectionView.EmptyView as an inline string renders, but nothing else (no ContentView, etc).