Previewing

jpbrocca edited this page May 28, 2016 · 1 revision

How preview works?

Once you specify which XAML you want to preview, Gorilla will analyze it along with your solution and will determine all the assets needed to preview it. During that process Gorilla might find stuff that he doesn't know or doesn't support, in which case his default strategy is to remove them from preview showing a warning.

Some examples are:

  • Event handlers

    • They reference code artifacts that are not currently supported.
  • References to elements in unknown assemblies

    • By default Gorilla only known Xamarin.Forms assemblies and system assemblies (i.e. mscorelib).
    • Any code element outside those two assemblies will be considered unknown, even code elements located in your solution assemblies.
    • You can extend the list of known assemblies by using the Gorilla Player SDK.

Multiple devices preview

image