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


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -