Greetings,
I have encountered a bug where PlatformBehaviors are not being attached to views that exist in footers and headers. Basically, an instance of Behavior class gets its OnAttachedTo method called, however, the PlatformBehavior<TView, TPlatformView>OnAttachedTo method is not called in this case. I have tested this on Android and iOS platforms.
Description
Greetings, I have encountered a bug where PlatformBehaviors are not being attached to views that exist in footers and headers. Basically, an instance of Behavior class gets its OnAttachedTo method called, however, the PlatformBehavior<TView, TPlatformView> OnAttachedTo method is not called in this case. I have tested this on Android and iOS platforms.
I have a reason to believe, this happens due to
As components inside ListView.Footer and ListView.Header never get their Loaded events called.
I attach the sample for reproduction
Steps to Reproduce
Link to public reproduction project repository
https://github.com/era-maui/HeaderSample
Version with bug
8.0.91 SR9.1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
No response
Affected platforms
Android, iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response