Skip to content

EmptyViewTemplate does not do anything #18551

@mattleibow

Description

@mattleibow

Description

While looking at #15158, I was not able to test the layout as it was using EmptyViewTemplate. I saw this PR that fixed empty views #11763 for issue #10819.

However, now that EmptyView is working we closed it, but the other issue of templates is still outstanding.

Steps to Reproduce

  1. Copy the repro in Android EmptyView in CollectionView weird resize after screen rotation #15158
  2. Run
  3. Observe nothing
  4. Change the repro to use EmptyView
  5. Observe the layout

Or

  1. Download the sample in Android - Collectionview EmptyView not visible #10819
  2. Run
  3. Observe the empty view
  4. Change the sample to use a EmptyViewTemplate
  5. Run
  6. Observe nothing

Link to public reproduction project repository

#15158

Version with bug

7.0.100

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions