0

Something like this

I am hoping to do something like the image above, using MvvmCross, Xamarin Forms and Native Views. The image is for demonstration purpose, the actual UIs are more complicated. I have looked into the MvvmCross Playground project, as well as the source codes for the presenters (i.e. MvxForms[Ios||Android]ViewPresenter and MvxFormsPagePresenter). I created a custom presenter from the MvxForms[Ios||Android]ViewPresenter and tried to show the native view (view controller/fragment) as a navigation page, but I was not successful. Any help or suggestion will be greatly appreciated.

Apologize in advance if this question is a duplicate. I did a fair amount of searching, but could not find exactly what I was looking for.

Thanks in advance!!!

Ming
  • 141
  • 9
  • Why do you want to move to a native page. You can just navigate to a forms page and use custom render to render native views. Am I missing something? – Nikhileshwar Feb 18 '21 at 06:04
  • Thanks for the response. I am not too familiar with the custom render. From what I can tell, custom render is use for converting Xamarin Forms -> Native views. Currently, using the MvxFormsPagePresenter can show the Xamarin Forms Pages & Native Views just fine (without any extra work), just that I could not figure out how to navigate from Forms Page to Native View while keeping the history or backstack, so that Native View can go back to the Forms Page (as the image shown above). I did not find any docs on rendering native view to a navigation page. Any advice? Thanks! – Ming Feb 18 '21 at 14:18
  • Sorry, forgot to mention that we just started using Xamarin.Forms, all the UIs were created with platform native views. We have only updated the main page and it's content pages to be Forms TabbedPages. – Ming Feb 18 '21 at 14:28
  • I'm not into native to forms navigation. Sorry – Nikhileshwar Feb 18 '21 at 15:12
  • @Error280MonkeyFound: That's ok! Thank you so much for your suggestion. :) – Ming Feb 18 '21 at 15:47

0 Answers0