Comments (6)
Are you requesting support for multiple Frames?
from template10.
Hi Jerry! Well, I was working to one of the project templates recommended/built by MS: “NavigationMenuSample” that uses an AppShell and then sub-pages for content all in another frame. It seems a sensible approach, so yes support for multiple frames would be fantastic and make the Template10 very robust. Thank you!
From: Jerry Nixon [mailto:[email protected]]
Sent: 02 July 2015 07:40
To: Windows-XAML/Template10
Cc: Tim Charters
Subject: Re: [Template10] Does not support multiple frames (#4)
Are you requesting support for multiple Frames?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-117924745.
from template10.
Okay. Will just need a second invocation of the navigation service. Probably easiest to subclass the bootstrapper. Can you send me a link to the sample so I can understand the use case?
Best regards,
Jerry Nixon
Sent from my Windows Phone.
Please forgive typos and brevity.
from template10.
Awesome, thanks very much Jerry! Here is a link to the zipped sample, unedited, on my OneDrive. This doesn’t implement Template10, it is just a navigation sample.
From memory of when I looked at this I think you’ll need to make sure the new Bootstrapper contains a collection of NavigationService, as I think currently it forces the app root frame for its single reference. From there a suspend event can loop through the navigation services and save all the state just the same – except maybe with ID dependent keys to prevent accidental overwriting… you’re the pro, though!
from template10.
If additional windows are going to be created, you need multiple cached dispatchers too
from template10.
You're right. Well need to move Dispatch from Bootstrapper into Frame façade, I think. This is pretty much an edge case but I think it can be worked in without creating any new implementation complexity. Models that cross frames will potentially throw cross thread exceptions in their property changed events of both frames data bind to the same property. Developers will have to be responsible for that on their own. Synchronizing through messaging would likely be how I would solve that. But that's an edge case of an edge case. Still, it would work.
Best regards,
Jerry Nixon
from template10.
Related Issues (20)
- Discussion: How to handle Background Tasks. HOT 1
- Unable load T10 project form GitHub HOT 13
- Add ToUri() to the PathBuilder HOT 4
- Navigation Services Not working HOT 1
- Reconsider if ViewModelBase should implement NavigationService HOT 1
- Why haven't we implemented auto-discover for Nav/Pages? HOT 1
- Confirm revert projects back to UWP Class Library
- Misleading information about Prism HOT 1
- Misleading exception while failing to deserialize an argument is passed in Navigation Service HOT 1
- Xaml exception (suddenly, without history) HOT 2
- AttachGestures should have an override without Window
- Add Nav extensions off Page types HOT 1
- GestureService shouldn't handle the BackRequested from SystemNavigationManager
- Exception handling in SettingsService HOT 3
- How can I use Navigation Service without Template 10 Bootstrapper? HOT 2
- Any news about future? HOT 1
- I need access to old Nuget packages HOT 1
- Update to reference latest version of Newtonsoft.Json library HOT 2
- Windows 10
- Template 10 ellipsis collapsed error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template10.