Where to register a RegionBehavior when using Forms? #2786
Unanswered
jameslavery
asked this question in
Xamarin.Forms
Replies: 1 comment 3 replies
-
https://prismlibrary.com/docs/xamarin-forms/behaviors/page-behavior-factory.html |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to add a Region Behavior to dispose of Views and ViewModels when the Region closes them.
I've worked out how to code the Behavior itself, but all references to Region Behaviors mention overriding the Bootstrapper's
ConfigureDefaultRegionBehaviors
method to add the Behavior.However, I can't find a Bootstrapper class to override. Is this available in Prism.Forms?
I'm using:
Or is there another way to achieve this without a RegionBehavior?
Beta Was this translation helpful? Give feedback.
All reactions