Using Portable Class Libraries with Windows 8 / Windows Phone 8 MVVM - Page Navigation -
i'm developing app both windows 8 , windows phone 8. chose implement portable class library , share between 2 platforms. problem can't figure out how handle page navigation in pcl. i've used example folowing tutorial: using portable class library highly appreciated. thanks.
the best approach create own abstraction around navigation.
i'd create interface inavigationservice, , in non-pcl assemblies each platform create implementation of interface wrapping appropriate control (frame winrt , phonenavigationframe windows phone 8).
i'd recommend looking @ source of caliburn.micro has similar approach abstract navigation.
here sample shows how this: sharing code: adding navigationservice