title: MvvmCross with Template10
body: <p>I'm attempting to create a version of the UWP app for the TipCalc sample here: <a href="https://github.com/MvvmCross/MvvmCross-Samples/tree/master/TipCalc" rel="nofollow noreferrer">https://github.com/MvvmCross/MvvmCross-Samples/tree/master/TipCalc</a></p>
  
  <p>There already is a UWP version in the sample, which works fine. However I'm attempting to use Template10 (<a href="https://github.com/Windows-XAML/Template10" rel="nofollow noreferrer">https://github.com/Windows-XAML/Template10</a>) and I am having trouble getting the two libraries to work together. </p>
  
  <p>MvvmCross wants me to modify the <strong>OnLaunched</strong> method, which has a reference to the root Frame. However, Template 10 instead abstracts this method exposing <strong>OnStartAsync</strong> which has no such reference...</p>
  
  <p>There is an override in Template 10 for <strong>CreateRootFrame</strong> which seems like the right place to initialize the mvvmcross app, but this doesn't appear to work the way I expected...</p>
  
  <p>Although the launched app DOES navigate to the appropriate page, and does also appear to initialize the view model (a breakpoint on the Start method in the associated VM does get hit), the page itself is blank.</p>
  
  <p>comparing the Visual Tree of both apps reveals that while the existing UWP app from the sample has a Frame:</p>
  
  <p><a href="https://i.stack.imgur.com/fJ8ob.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fJ8ob.png" alt="Visual Tree of working app"></a></p>
  
  <p>my Template10 App is loading a Modal Dialog:</p>
  
  <p><a href="https://i.stack.imgur.com/9y7H2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9y7H2.png" alt="enter image description here"></a></p>
  
  <p>I forked the original sample project and added the template 10 version, if you wish to try it for yourself: <a href="https://github.com/selaromdotnet/MvvmCross-Samples" rel="nofollow noreferrer">https://github.com/selaromdotnet/MvvmCross-Samples</a></p>
  
  <p>Has anyone else been able to integrate MvvmCross with template 10? do you have any idea what i'm doing wrong, and any advice for the best practices in using both of these libraries together?</p>