Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: How do I implement the logic to navigate once the service result is returned

$
0
0
Hi,

I believe you could find the IConfirmNavigationRequest interface provided by Prism useful. This interface defines a ConfirmNavigationRequest method which receives a callback as a parameter. This method will be invoked when you are navigate from the view / view model that implements it, and will interrupt the navigation process until the callback is invoked.) For example, if the first view implements this interface, the method will be invoked when navigating from the first view to the second. There, in the first view, you could show the progress bar, invoke the asynchronous operation to obtain the data and continue the navigation when the operation finishes.

You can find more information about the IConfirmNavigationRequest interface in the following section of the documentation:
Damian Cherubini
http://blogs.southworks.net/dcherubini

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>