I have a requirement to create dashboard or widgets in a Prism app. Basically you get a list of widgets based on your security level, you may only have access to x number of modules and within them, these modules can have to level navigation options (implemented) or a widget to present on the dashboard which has it's own viewmodel.
There's no nice way of loading in XAML like you can in WPF and it will have it's parent binding context etc.
I've been looking at different approaches for this, I thought of loading the views into a bindable collection and presenting then via a custom tileview control we have.
I found this post which involves creating your own region manager
http://stackoverflow.com/questions/28652090/xamarin-forms-dynamically-load-content-in-a-page
I was wondering if anyone has attempted this and if they run into memory management issues, as the dashboard is a details page in a masterdetail app it loads in and out of memory so I'd imagine I'd have to handle cleaning up the binding context of the views when the page is destroyed and any behaviors to allow navigation from the widget into modules.
I'm wondering if anyone has attempted something similar in Prism or in Forms in general
I know there's the dynamic forms nuget library but it hasn't been touched in a while and the Forms team don't seem to recommend that approach from what I saw on a Forum post.
Thought I'd ask before I spend a few weeks on it only to find out I've been a bit overambitious with Forms.