Skip to end of metadata
Go to start of metadata

To support multiple platforms, Crosslight navigation services are built around MVVM design pattern enabling the navigation logic to be shared in the core project along with the other user interaction logic. At the platform-end, Crosslight automatically translates the navigation requests according to the platform standards.

The Crosslight navigation services are modeled according to the industrial standards design for mobile navigation interfaces. As the results, Crosslight apps promote navigation experiences that are consistent, reliable and intuitive.

On this page:

In summary, Crosslight supports three kind of navigation mode:

Push Navigation

Push navigation is the most basic navigation operation in a mobile app. It typically shows a new screen which entirely replaces the existing screen. This kind of navigation is commonly used to display detailed information related to an object, and provides a back button which allows users to easily go back to the previous screen.

Modal navigation

Modal navigation is typically used to display a screen that is out of context to the existing screen. In addition, it is commonly used when the application wants to capture input that users must complete in order to process certain actions – or to attract users with certain information which can be easily dismissed without changing the current screen context. 

List navigation

In addition to the standard navigations above, Crosslight also supports a specialized navigation mode called list navigation which is ideal for master-detail application. With list navigation, user can easily tap on a list item to navigate to the detail screen. In essence, the list navigation performs a push navigation, but with seamless parameter and data passing.

 

As shown in the illustrations above, Crosslight includes comprehensive support for navigation design patterns which address most of the mobile navigation scenarios used in productivity and business apps.  In particular, the modal navigation has been thoughtfully designed to work consistently in iOS, Android, Windows Phone and Windows Store – which in certain extents surpassing the features originally available in the native platforms. In short, Crosslight does not only solve the cross-platform navigation design challenges, it makes even single-platform navigation much easier and straightforward.

For example, creating modal navigation in Android is practically inefficient as it requires a lot of code to maintain the navigation state while you can achieve it with Crosslight in a single line of code. Furthermore, the navigation in Windows Phone and Windows RT did not originally support passing data as the parameter which may be a showstopper for business developers in the first place. Crosslight breaks the limitation by allowing you to navigate and pass a complex data along in a single line of code.

In this section, you’ve learnt about the basic concepts and fundamentals of Crosslight navigation services, the supported navigation model, and the navigation behaviors. In the following sections, you will learn how to use the navigation services to perform navigation in Crosslight apps.

Note that although common navigation behaviors are consistent across all supported platforms, there are specific optional features that are available only to certain platforms. To learn more about the features available in specific platforms, see Platform-specific Guides.